#TV on/off toggle card?

1 messages · Page 1 of 1 (latest)

tawdry needle
#

Is there a way to add a toggle feature to a tile card for a TV (media player)? Just wanting a simple on/off toggle switch shown like a switch? Feels like I’m missing something.

gray nymph
tawdry needle
#

I was just looking at that…. But no way to do it out of the box?

#

@gray nymph w/ custom card features, with material design 2 toggle (which seems to look like everything else in HA default theme?) why does the toggle end up not right aligned? Is that on purpose?

gray nymph
#

The MD2 toggle is what Home Assistant normally uses, yes. It's because the toggle is centered on the entire feature area. You can add these styles to the custom features row to make it right aligned.

.row {
  justify-content: flex-end;
}