SmartIR icon indicating copy to clipboard operation
SmartIR copied to clipboard

Depreciated Message

Open Krispkiwi opened this issue 1 year ago • 1 comments

Detected that custom integration 'smartir' calls async_track_state_change instead of async_track_state_change_event which is deprecated and will be removed in Home Assistant 2025.5 at custom_components/smartir/climate.py, line 184: async_track_state_change(self.hass, self._humidity_sensor,, please report it to the author of the 'smartir' custom integration

Krispkiwi avatar May 14 '24 09:05 Krispkiwi

https://github.com/smartHomeHub/SmartIR/blob/3cfa202afa88bcb529bedfad3b0cb62ce510a4d5/custom_components/smartir/climate.py#L16 https://github.com/smartHomeHub/SmartIR/blob/3cfa202afa88bcb529bedfad3b0cb62ce510a4d5/custom_components/smartir/climate.py#L176


https://github.com/smartHomeHub/SmartIR/blob/3cfa202afa88bcb529bedfad3b0cb62ce510a4d5/custom_components/smartir/light.py#L22 https://github.com/smartHomeHub/SmartIR/blob/3cfa202afa88bcb529bedfad3b0cb62ce510a4d5/custom_components/smartir/light.py#L205


https://github.com/smartHomeHub/SmartIR/blob/3cfa202afa88bcb529bedfad3b0cb62ce510a4d5/custom_components/smartir/fan.py#L15 https://github.com/smartHomeHub/SmartIR/blob/3cfa202afa88bcb529bedfad3b0cb62ce510a4d5/custom_components/smartir/fan.py#L158

async_track_state_change ==> async_track_state_change_event

cybertza avatar Feb 05 '25 23:02 cybertza