Hello,
I have a couple of Z-Wave switches that I want to be shown as a light entity instead of a switch entity.
Mostly because I want it to be shown as a light in Google Home.
How do I do this?
Hello,
I have a couple of Z-Wave switches that I want to be shown as a light entity instead of a switch entity.
Mostly because I want it to be shown as a light in Google Home.
How do I do this?
But it’s not a light entity. It’s a switch. It doesn’t share the same attributes as a light.
Yes but I dont want to have to say two different things when turning on/off lights and swithes.
Lets say I tell Google to “turn of all lights”, it wont do anything to the switches and I have to tell it to turn of the switches.
There has to be a way to fix this?
It would be easy if it was a MQTT devices because then I could have just put the entity in the light: secion instead of the switch: seciton. But with Z-Wave I can’t do anything.
For a command like that you just put the switch in a group of lights and call the name of the light group
Turn off all lights and it will turn off the group
Take a look at the Light Switch component (linked below). It allows you to create a light entity based on an existing switch entity. I believe that’s what you’re looking for.
You could probably make a template light. Have never used it myself.
While this is true, the Light Switch component was created (in 0.83) to do effectively the same thing as a template light, but eliminate all the work involved of setting it up, AFAIK.
Thank you, this was exactly what I was looking for. It worked like a charm!