#How to include a Switch in the Lights summary view?

1 messages · Page 1 of 1 (latest)

half needle
#

What's the cleanest way to have switches controlling lights appear in the Lights summary view in the Home dashboard? I can change the config on the Switch entity and update the "Show as" property to Light, but that creates a duplicate entity with the same name instead of just changing its type.

thorn pendant
#

Show as is the way.

#

I wouldn't worry about a duplicate entity, just let the original be hidden.

half needle
#

The original hidden entity still appears when I try and target it with an automation.

thorn pendant
#

Yes that's true.

#

It's just really your only option, home assistant does not allow the user to change the domain of an existing entity provided by some integration. "Show as" is the compromise that allows this to be possible.

half needle
#

I see. I guess it doesn't matter which I target, since it's the same underlying entity.

#

Ah, there's another quirk where changing the icon at the same time as "show as" applies the icon to the old entity.