RenierM26 / hass_ids_hyyp

Home Assistant integration for IDS Hyyp (Beta)
GNU General Public License v3.0
4 stars 5 forks source link

Entity not available as an alarm panel card #2

Open allandf opened 2 years ago

allandf commented 2 years ago

Thanks for taking the time to share the integration. Installing the integration appears to be successful as I can see the device. However, I have the following error log:

Logger: homeassistant.components.alarm_control_panel Source: custom_components/ids_hyyp/alarm_control_panel.py:70 Integration: Alarm Control Panel (documentation, issues) First occurred: 17:32:03 (3 occurrences) Last logged: 17:35:03

Error while setting up ids_hyyp platform for alarm_control_panel Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform await asyncio.shield(task) File "/config/custom_components/ids_hyyp/alarm_control_panel.py", line 38, in async_setup_entry [ File "/config/custom_components/ids_hyyp/alarm_control_panel.py", line 39, in HyypAlarm(coordinator, site_id, partition_id, arm_code) File "/config/custom_components/ids_hyyp/alarm_control_panel.py", line 70, in init self._arm_home_profile_id = list(self.partition_data["stayProfiles"])[ IndexError: list index out of range

Configured with hyyp247 option.

RenierM26 commented 2 years ago

Hi @allandf,

Do you have any stay profiles configured on your alarm?

allandf commented 2 years ago

Hi @RenierM26,

I am relatively new to HYYP, I have several partitions through the application but I only have the option to arm them, not stay, so I suspect that I don't have any stay profiles. This would make sense given the error message. I will try see if I can figure out how to setup a stay profile and re-install to check if that fixes the problem.

allandf commented 2 years ago

stay_arm

Hi @RenierM26,

I managed to get a stay profile stored, as you can see in the figure above its also visible in HYYP, unfortunately I am still getting the same error as in the first message after re-installing the integration and multiple restarts. Any other suggestions?

allandf commented 1 year ago

This issue was resolved with an update, thanks!