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
71.14k stars 29.81k forks source link

Bond fan on/off display as two lightning bolts instead of a slider switch #123419

Open hartmms opened 1 month ago

hartmms commented 1 month ago

The problem

Bond fan on/off control shows up as two lighting bolts instead of a slider switch. I read that this can occur when the entity does not provide a status. However, I can toggle the fan on and off in the bond phone app and see the status of the lightning bolts change to reflect the proper state.

What version of Home Assistant Core has the issue?

core-2024.8.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Core

Integration causing the issue

bond

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

No response

home-assistant[bot] commented 1 month ago

Hey there @bdraco, @prystupa, @joshs85, @marciogranzotto, mind taking a look at this issue as it has been labeled with an integration (bond) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `bond` 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 bond` 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)


bond documentation bond source (message by IssueLinks)

jrossfeld commented 3 weeks ago

Hi! I'm also having this issue for now with a fan that only has a toggle switch. Home Assistant only seems to be picking up the brightness change buttons and confusing them for on/off. I worked around it for now using the Bond app to create Siri Shortcuts on my iPhone, but would like to figure out a way to access the regular button.

bdraco commented 3 weeks ago

If you are using one-way rf its going to show as assumed state unless you turn on trusting state in the app https://github.com/home-assistant/core/blob/50f3c891fa8ccd0a5306cd3ceb8885d0531a768a/homeassistant/components/bond/entity.py#L70

jrossfeld commented 3 weeks ago

Ah, that was it! I also had the brightness change buttons linked to top and bottom light since I couldn't find a better one, and that may have been confusing things. The toggle is showing up now. Thanks!

hartmms commented 3 weeks ago

Thanks for the info. That did fix the issue.