I have some smart lights and smart outlets (switches) and I’d like to control them uniformly. One way to do that is create a helper entity, a group. However, it’s either a switch group (excluding the lights), or a light group (excluding the switches). I then have to go through hoops of fire:
You can already do this. Go to the entity, click the settings icon, and then show as “light”. It then hides the switch and creates a light entity for the switch.
I have the same agony… for me, it’s the ability to add a light to a switch group. Or a media player to a switch group. Why can’t we have a generic helper that we can add anything into for just turning on and off devices. I currently use homeassisant.turn_on and turn_off, but it’s in an automation. I have to edit the automation when the device list changes. Rather do it in a helper. I could use a template, or a scene, but why not a helper?
To be honest, I’m not sure where I should write these strings. I imagine it’s in the YAML editor of the automation, but I wouldn’t consider a feature to be implemented until it’s the simplest way to accomplish a goal (in this case, readily available through the UI)
They aren’t interchangeable, true, but the intersection of functionality between a switch and a light (the on/off state and the action of toggling) is still very useful, so I’m advocating to have that intersection be easily accessible