New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switchmates only work when bluetooth disabled #77813
Comments
switchmate documentation |
Hey there @Danielhiversen, @qiz-li, mind taking a look at this issue as it has been labeled with an integration ( |
According to the beta release notes, the fix should be implemented with the release of 2022.9. See Full Changelog for Home Assistant Core 2022.9 (Look for #76945). |
oh awesome, thanks. I thought the merge date meant it was already in HA (released). I'll close this and re-open if the issue persists after I'm on 2022.9 :) |
i think this needs to be reopened. This continues to stop working after Bluetooth is configured and rebooted on 2022.9.0 |
This issue is resolved for me in 2022.9.0 -- I can use my switchamtes and my other bluetooth devices that were previously running through the HA bluetooth integration (🎉) since I can't reproduce, @Scags104 it might be best if you file a new issue with your config |
To echo @Scags104, my Switchmate entities have also stopped working after the update. What's worse is previously I could get them to work by disabling the Bluetooth integration, but now even that's not working. I'm seeing the following in my logs:
and then
Here's my Home Assistant versions:
Hope this helps. |
I figured this out, it's a bit funny actually. I had the MAC address written in lowercase in my config, after switching to uppercase, it worked. It's a bit cumbersome because Home Assistant will recognize them as new entities, so I had to delete the old ones and reconfigure them to take the same entity IDs. The reason I think this is happening is that 2022.09.0 started using I consider this to be kind of a bug in the bluetooth integration. Hope it could be fixed in the upcoming updates. |
Thanks for sharing this info! That explains why @MReschenberg said their integration was working perfectly. Probably needs to file an issue for the Bluetooth integration instead. I'll quote you on the issue I submitted for switchmate. Nonetheless, it's still the best to update the integration to use the new |
Just want to confirm. this simple fix did the trick. Thank you for figuring that out! |
The problem
I have five Switchmates (original) linked to Home Assistant via the Switchmate integration. When the HA Bluetooth integration is on, all five devices are shown as inactive and unreachable. This issue persists across restarts, even if I restart the host device -- which is a Raspberry Pi 3B+ in my case.
If I disable the HA Bluetooth integration and restart HA, all five switches are immediately located and work.
I saw issue #76839 was recently addressed, and I hoped it would fix this problem, but I'm running the following and still have this problem:
If I enable
homeassistant.components.switch.switchmate: debug
underLogger
, I don't get any abnormal log info. I get a warning that the platform is taking over 10 seconds to load, but I also intermittently get that warning when the switches work. Please let me know if there's another way to get logs and I'll dig them up :)What version of Home Assistant Core has the issue?
2022.8.7
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
Switchmate
Link to integration documentation on our website
https://www.home-assistant.io/integrations/switchmate/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: