libdyson-wg / ha-dyson

Home Assistant custom integration for Wi-Fi connected Dyson devices
MIT License
221 stars 25 forks source link

HA Warning - Does not set FanEntityFeature #179

Closed danielgoepp closed 1 month ago

danielgoepp commented 1 month ago

Looks like this integration needs to be updated to comply with the fan entity requirements:

2024-08-10 03:15:07.217 WARNING (MainThread) [homeassistant.components.fan] Entity None (<class 'custom_components.dyson_local.fan.DysonPureCoolEntity'>) does not set FanEntityFeature.TURN_OFF but implements the turn_off method. Please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
2024-08-10 03:15:07.217 WARNING (MainThread) [homeassistant.components.fan] Entity None (<class 'custom_components.dyson_local.fan.DysonPureCoolEntity'>) does not set FanEntityFeature.TURN_ON but implements the turn_on method. Please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
dotvezz commented 1 month ago

Thanks for the post! This is being tracked in #128

danielgoepp commented 4 weeks ago

Ah, sure. Thanks. I didn't catch that from the title of that other issue :)

dotvezz commented 3 weeks ago

@danielgoepp I owe you an apology actually! #128 was a different set of logs that looked REALLY similar. I didn't realize this until just now though, after I opened up #183.

You beat me to the punch! Thanks for this, and sorry for not looking at it more closely.