Skip to content

Commit

Permalink
iCloud3 v3.0.5.7 (7/31/2024)
Browse files Browse the repository at this point in the history
  • Loading branch information
gcobb321 committed Jul 31, 2024
1 parent 23fc9f3 commit 1d1e144
Show file tree
Hide file tree
Showing 6 changed files with 352 additions and 14 deletions.
9 changes: 9 additions & 0 deletions custom_components/icloud3/ChangeLog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
**Installing for the first time_** - See [here](https://gcobb321.github.io/icloud3_v3_docs/#/chapters/3.2-installing-and-configuring) for instructions on installing as a New Installation
**iCloud3 v3 Documentation** - iCloud3 User Guide can be found [here](https://gcobb321.github.io/icloud3_v3_docs/#/)


3.0.5.7
.......................
### Change Log - v3.0.5.6 (7/15/2024)
1. ICLOUD3 PROBLEMS WITH HA 2024.7.4 - Fixed
2. ADD/UPDATE DEVICE CONFIGURATION (Fixed) - This was probably caused by HA 2024.7.4 Loading issues.
3. MOBILE APP NOTIFY MESSAGE (Fixed) - A warning message about not being able to send a notification to a device was displayed in the Event Log when the device was not using the Mobile App.


3.0.5.6
.......................
### Change Log - v3.0.5.6 (7/15/2024)
Expand Down
20 changes: 10 additions & 10 deletions custom_components/icloud3/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -1520,7 +1520,8 @@ async def async_step_waze_main(self, user_input=None, errors=None):
#-------------------------------------------------------------------------------------------
async def async_step_special_zones(self, user_input=None, errors=None):
self.step_id = 'special_zones'
user_input, action_item = self._action_text_to_item(user_input)\
user_input, action_item = self._action_text_to_item(user_input)
await self._build_zone_list()

if self.common_form_handler(user_input, action_item, errors):
return await self.async_step_menu()
Expand Down Expand Up @@ -2865,6 +2866,7 @@ async def async_step_add_device(self, user_input=None, errors=None):
self.step_id = 'add_device'
self.errors = errors or {}
self.errors_user_input = {}
await self._build_update_device_selection_lists()

if user_input is None:
return self.async_show_form(step_id=self.step_id,
Expand Down Expand Up @@ -3271,12 +3273,12 @@ async def _build_update_device_selection_lists(self):
""" Setup the option lists used to select device parameters """

await self._build_picture_filename_list()
self._build_mobapp_entity_list()
self._build_zone_list()
await self._build_mobapp_entity_list()
await self._build_zone_list()

await self._build_famshr_devices_list()
# self._build_fmf_devices_list()
self._build_devicename_by_famshr_fmf()
await self._build_devicename_by_famshr_fmf()

#----------------------------------------------------------------------
async def _build_famshr_devices_list(self):
Expand Down Expand Up @@ -3378,7 +3380,7 @@ def _build_fmf_devices_list(self):
self.fmf_list_text_by_email = self.fmf_list_text_by_email_base.copy()

#----------------------------------------------------------------------
def _build_devicename_by_famshr_fmf(self, current_devicename=None):
async def _build_devicename_by_famshr_fmf(self, current_devicename=None):
'''
Cycle thru the configured devices and build a devicename by the
famshr fname and fmf email values. This is used to validate these
Expand Down Expand Up @@ -3419,7 +3421,7 @@ def _build_devicename_by_famshr_fmf(self, current_devicename=None):
# self.fmf_list_text_by_email[fmf_email] = f"{fmf_text}{devicename_msg}"

#----------------------------------------------------------------------
def _build_mobapp_entity_list(self):
async def _build_mobapp_entity_list(self):
'''
Cycle through the /config/.storage/core.entity_registry file and return
the entities for platform ('mobile_app', etc)
Expand Down Expand Up @@ -3652,11 +3654,12 @@ def x_build_picture_filename_list(self):
log_exception(err)

#-------------------------------------------------------------------------------------------
def _build_zone_list(self):
async def _build_zone_list(self):

if self.zone_name_key_text != {}:
return


fname_zones = []
for zone, Zone in Gb.HAZones_by_zone.items():
if is_statzone(zone):
Expand Down Expand Up @@ -5051,9 +5054,6 @@ def form_schema(self, step_id, actions_list=None, actions_list_default=None):
#------------------------------------------------------------------------
elif step_id == 'special_zones':
try:
if self.zone_name_key_text == {}:
self._build_zone_list()

pass_thru_zone_used = (Gb.conf_general[CONF_PASSTHRU_ZONE_TIME] > 0)
stat_zone_used = (Gb.conf_general[CONF_STAT_ZONE_STILL_TIME] > 0)
track_from_base_zone_used = Gb.conf_general[CONF_TRACK_FROM_BASE_ZONE_USED]
Expand Down
2 changes: 1 addition & 1 deletion custom_components/icloud3/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

VERSION = '3.0.5.6'
VERSION = '3.0.5.7'
VERSION_BETA = ''
#-----------------------------------------
DOMAIN = 'icloud3'
Expand Down
Loading

0 comments on commit 1d1e144

Please sign in to comment.