Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.31 KB

light.md

File metadata and controls

24 lines (18 loc) · 1.31 KB

Light

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

Shows a light.* entity as an icon widget with its name and state. The widget is highlighted while the light is on. Hold the widget to open the full-screen light view: drag up or down to dim, or use its keyboard-accessible slider. Tap anywhere on the tile to toggle on/off. With action: toggle a tap toggles the light (light.toggle); with action: off a tap always calls light.turn_off, which suits "everything off" and bedtime widgets. An unavailable or unknown light is shown disabled.

Option Type Default Description
entity entity required A light.* entity
name string friendly name Label
size normal/wide/tall/large normal Widget size on carousel pages
icon icon mdi:lightbulb-outline Override the icon. A name without a prefix is an mdi: icon
action view/toggle/off view view opens brightness on hold and toggles on tap; toggle flips the light; off always turns it off. Unquoted YAML off is accepted
type: custom:houseview-light-card
entity: light.living_room
action: off