SmartIR icon indicating copy to clipboard operation
SmartIR copied to clipboard

power_sensor for FAN does not work

Open jokerigno opened this issue 1 year ago • 2 comments

Home Assistant version Home Assistant 2023.7.3 SmartIR version 1.17.7 SmartIR configuration


fan:
  - platform: smartir
    name: Ventilatore Cucina
    unique_id: kitchen_fan
    device_code: 9999
    controller_data: remote.rmini_cucina_remote
    power_sensor: binary_sensor.status_ventilatore

Describe the bug

Please notice that binary_sensor.status_ventilatore status is "on" when fan is on.

Debug log

Found in HA logs


 Entity fan.ventilatore_cucina (<class 'custom_components.smartir.fan.SmartIRFan'>) is using self.async_update_ha_state(), without enabling force_update. Instead it should use self.async_write_ha_state(), please report it to the custom integration author. 

Additional context

Add any other context about the problem here.

jokerigno avatar Jul 26 '23 15:07 jokerigno

hi,

any update? There's something I can do to fix it?

Thanks

jokerigno avatar Sep 01 '23 13:09 jokerigno

@jokerigno updating your smartir to 1.17.8 should solve this

gurglingtonic avatar Nov 16 '23 15:11 gurglingtonic