Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 871 Bytes

switch.md

File metadata and controls

21 lines (15 loc) · 871 Bytes

Switch

Card type custom:houseview-switch-card, or type: switch in the cards list of custom:houseview-card. Available since 1.0.

Shows a switch.* entity as an icon widget with its name and state. The widget is highlighted while the switch is on. A tap flips it through homeassistant.toggle. An unavailable or unknown switch is shown disabled.

Option Type Default Description
entity entity required A switch.* entity
name string friendly name Label
size normal/wide/tall/large normal Widget size on carousel pages
icon icon mdi:power Override the icon. A name without a prefix is an mdi: icon
type: custom:houseview-switch-card
entity: switch.coffee_machine