fuatakgun / eufy_security

Home Assistant integration to manage Eufy Security devices as cameras, home base stations, doorbells, motion and contact sensors.
944 stars 80 forks source link

HA 2024.11 #1237

Closed larsoss closed 1 day ago

larsoss commented 2 weeks ago

Logger: homeassistant.const Bron: helpers/deprecation.py:222 Eerst voorgekomen: 10:44:57 (6 gebeurtenissen) Laatst gelogd: 10:45:05

STATE_ALARM_ARMED_AWAY was used from eufy_security, 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 'eufy_security' custom integration STATE_ALARM_ARMED_HOME was used from eufy_security, 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 'eufy_security' custom integration STATE_ALARM_DISARMED was used from eufy_security, 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 'eufy_security' custom integration STATE_ALARM_TRIGGERED was used from eufy_security, this is a deprecated constant which will be removed in HA Core 2025.11. Use AlarmControlPanelState.TRIGGERED instead, please report it to the author of the 'eufy_security' custom integration

alexh3o commented 2 weeks ago

I also have:

Logger: homeassistant.core
Source: helpers/deprecation.py:222
First occurred: 22:44:45 (1 occurrences)
Last logged: 22:44:45

Config was used from eufy_security, this is a deprecated alias which will be removed in HA Core 2025.11. Use homeassistant.core_config.Config instead, please report it to the author of the 'eufy_security' custom integration

and

Logger: homeassistant.components.alarm_control_panel
Source: components/alarm_control_panel/__init__.py:210
integration: Alarm control panel (documentation, issues)
First occurred: 22:44:50 (1 occurrences)
Last logged: 22:44:50

Entity None (<class 'custom_components.eufy_security.alarm_control_panel.EufySecurityAlarmControlPanel'>) is setting state directly which will stop working in HA Core 2025.11. Entities should implement the 'alarm_state' property and return its state using the AlarmControlPanelState enum, please report it to the custom integration author.
z-master42 commented 2 weeks ago

Config see #1231 Deprecated constants see #1240

Dzoker2 commented 2 weeks ago

HI, same issue here.

TY

misc2000 commented 2 weeks ago

same here after updating HA to 2024.11

toto25550 commented 1 week ago

Hello Same warning since last update

fuatakgun commented 2 days ago

fixed in latest revision, thanks

z-master42 commented 2 days ago

I think this is still unfixed.

Logger: homeassistant.components.alarm_control_panel 
Source: components/alarm_control_panel/__init__.py:210 
integration: Alarm control panel (documentation, issues) 
First occurred: 22:44:50 (1 occurrences)
Last logged: 22:44:50
Entity None (<class 'custom_components.eufy_security.alarm_control_panel.EufySecurityAlarmControlPanel'>) is setting state directly which will stop working in HA Core 2025.11. Entities should implement the 'alarm_state' property and return its state using the AlarmControlPanelState enum, please report it to the custom integration author.
akicker commented 2 days ago

+1

Dzoker2 commented 2 days ago

Confirming too

Logger: homeassistant.components.alarm_control_panel Source: components/alarm_control_panel/init.py:210 integration: Alarm control panel (documentation, issues) First occurred: 15:14:05 (8 occurrences) Last logged: 15:14:20

Entity None (<class 'custom_components.eufy_security.alarm_control_panel.EufySecurityAlarmControlPanel'>) is setting state directly which will stop working in HA Core 2025.11. Entities should implement the 'alarm_state' property and return its state using the AlarmControlPanelState enum, please report it to the custom integration author

Is this an issue with the Alarm Control Panel HA Integration or Eufy Security? i also get the same error with

Logger: homeassistant.components.alarm_control_panel Source: components/alarm_control_panel/init.py:210 integration: Alarm control panel (documentation, issues) First occurred: 15:14:05 (8 occurrences) Last logged: 15:14:20

Entity None (<class 'custom_components.alexa_media.alarm_control_panel.AlexaAlarmControlPanel'>) is setting state directly which will stop working in HA Core 2025.11. Entities should implement the 'alarm_state' property and return its state using the AlarmControlPanelState enum, please report it to the custom integration author.

fuatakgun commented 2 days ago

can you open a separate issue? I had focused on initial one only. just move into a new in an easy way.

fuatakgun commented 2 days ago

anyway, fixed it, give it a try after new revision is released

z-master42 commented 2 days ago

That was fast. Thanks.

Dzoker2 commented 2 days ago

Looks like fixed.

Thank you