-
Notifications
You must be signed in to change notification settings - Fork 280
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
Import "switches" from Home Assistant? #1016
Comments
Hi, Yes, we import just the lights because we can emulate them in Hue lights, but other entities (like switches) we don't have a common Hue device in witch these can be emulated. Probably we can emulate the binary switches in Hue plugs.... |
Hi, its possible by adjusting/editing services/homeAssistantWS.py Original my version And also from to This is working fine for me To make it easier: https://github.com/Paalap/diyHue-1/blob/master/BridgeEmulator/services/homeAssistantWS.py |
Hi, Please create a pull request to master branch with your changes to be more easy to follow. |
Done in #1018 |
Wow, this is great! Thank you for the extremely fast turnaround 👍 Just to confirm, I can see that this code change brings switches into diyHue, but has someone verified that diyHue is enable to successfully turn them on/off? Also, btw, in case it helps others. I got this working using the HASS "Switch as X" Helper, but with this change, I'll be able to remove all of that configuration 🎉 |
Feature does not already exist?
I searched and did not find an existing feature request
Summarize feature
Hello. Thank you for this very useful project! When trying to import all of my lights from Home Assistant, I noticed that it only seems to import devices of type
"light"
and devices of type"switch"
are not imported, even though I have setdiyhue: include
on them in mycustomize.yaml
. Is this intentional behavior? If so, are there any workarounds?The text was updated successfully, but these errors were encountered: