Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logbook details warning/failures #40

Closed
PeetCrypto opened this issue Feb 11, 2025 · 1 comment
Closed

Logbook details warning/failures #40

PeetCrypto opened this issue Feb 11, 2025 · 1 comment

Comments

@PeetCrypto
Copy link

Logger: homeassistant.helpers.frame
Bron: helpers/frame.py:324
Eerst voorgekomen: 09:10:39 (1 gebeurtenissen)
Laatst gelogd: 09:10:39

Detected that custom integration 'jablotron_cloud' is setting state directly. Entity alarm_control_panel.XXXXX (<class 'custom_components.jablotron_cloud.alarm_control_panel.JablotronAlarmControlPanel'>) should implement the 'alarm_state' property and return its state using the AlarmControlPanelState enum at custom_components/jablotron_cloud/alarm_control_panel.py, line 217: self._attr_state = self._actions_to_state_alarm.get(. This will stop working in Home Assistant 2025.11, please create a bug report at https://github.com/Pigotka/ha-cc-jablotron-cloud/issues

Logbook Details (FAILURE)
Error while setting up jablotron_cloud platform for switch: 'programmableGates'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 366, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/jablotron_cloud/switch.py", line 39, in async_setup_entry
gates = gates_data["programmableGates"]
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
KeyError: 'programmableGates

Logbook details warning
STATE_ALARM_ARMED_AWAY was used from jablotron_cloud, this is a deprecated constant which will be removed in HA Core 2025.11. Use AlarmControlPanelState.ARMED_AWAY instead, please report it to the author of the 'jablotron_cloud' custom integration
STATE_ALARM_ARMED_HOME was used from jablotron_cloud, this is a deprecated constant which will be removed in HA Core 2025.11. Use AlarmControlPanelState.ARMED_HOME instead, please report it to the author of the 'jablotron_cloud' custom integration
STATE_ALARM_ARMING was used from jablotron_cloud, this is a deprecated constant which will be removed in HA Core 2025.11. Use AlarmControlPanelState.ARMING instead, please report it to the author of the 'jablotron_cloud' custom integration
STATE_ALARM_DISARMED was used from jablotron_cloud, this is a deprecated constant which will be removed in HA Core 2025.11. Use AlarmControlPanelState.DISARMED instead, please report it to the author of the 'jablotron_cloud' custom integration
STATE_ALARM_DISARMING was used from jablotron_cloud, this is a deprecated constant which will be removed in HA Core 2025.11. Use AlarmControlPanelState.DISARMING instead, please report it to the author of the 'jablotron_cloud' custom integration

Logbook details warning
StrEnum was used from jablotron_cloud, this is a deprecated alias which will be removed in HA Core 2025.5. Use enum.StrEnum instead, please report it to the author of the 'jablotron_cloud' custom integration

@Pigotka
Copy link
Owner

Pigotka commented Feb 11, 2025

Fixed in #31
Waiting with release because it blocks backward compatibility.

@Pigotka Pigotka closed this as completed Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants