home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.9k stars 30.97k forks source link

homeassistant.components.zwave_js.fan.ZwaveThermostatFan does not set FanEntityFeature.TURN_OFF/TURN_ON #123112

Open jeffjumper opened 3 months ago

jeffjumper commented 3 months ago

The problem

Logger: homeassistant.components.fan Source: components/fan/init.py:295 integration: Fan (documentation, issues) First occurred: 10:42:32 AM (2 occurrences) Last logged: 10:42:32 AM

Entity None (<class 'homeassistant.components.zwave_js.fan.ZwaveThermostatFan'>) does not set FanEntityFeature.TURN_OFF but implements the turn_off method. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+zwave_js%22 Entity None (<class 'homeassistant.components.zwave_js.fan.ZwaveThermostatFan'>) does not set FanEntityFeature.TURN_ON but implements the turn_on method. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+zwave_js%22

What version of Home Assistant Core has the issue?

core-2024.8.0b1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

zwave_js? or maybe Fan?

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

zwave-js-ui: 9.16.4.394bd02 zwave-js: 13.0.2

home-assistant[bot] commented 3 months ago

Hey there @home-assistant/z-wave, mind taking a look at this issue as it has been labeled with an integration (zwave_js) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `zwave_js` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign zwave_js` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


zwave_js documentation zwave_js source (message by IssueLinks)

pethans commented 1 month ago

I have a CT50 from Radio Thermostat (Z-Wave) that exposes a "fan" entity with no "turn_on" or "turn_off" capability; it can only be controlled by the set_presetmode action to either "Low" or "Auto Low". If you attempt to control the fan via the UI, you get a failure, "Failed to perform the Action fan/turn[on/off]. Unhandled Action" which results in help requests.

Since I had already created a template fan (this entity is relatively new addition to zwavejs) that implements on/off, I keep the ZwaveThermostatFan entity disabled, but I am still seeing this warning in the logs.

zwave-js-ui: 9.22.0.aaff11e zwave-js: 13.8.0 HA docker: 2024.10.2