Add lux to kitchen dashboard

This commit is contained in:
2020-05-01 20:44:04 +03:00
parent 7b8d1d8778
commit 66c5e72018
2 changed files with 10 additions and 3 deletions
@@ -35,7 +35,6 @@ progress:
- top: 0 - top: 0
- right: 0 - right: 0
- height: 16px - height: 16px
- transform: translateX(5px)
card: card:
- background: > - background: >
[[[ [[[
@@ -134,7 +134,6 @@
action: call-service action: call-service
service: script.sonos_join_tv service: script.sonos_join_tv
- type: horizontal-stack - type: horizontal-stack
cards: cards:
- type: custom:button-card - type: custom:button-card
@@ -146,7 +145,16 @@
name: Motion name: Motion
variables: variables:
state_indicator_id: automation.lighting_kitchen_day_mode_motion_turn_lights_on_after_sunset state_indicator_id: automation.lighting_kitchen_day_mode_motion_turn_lights_on_after_sunset
- type: custom:button-card
template:
- xs
- progress
entity: sensor.motion_1_illuminance
name: Lux
variables:
min_value: 0
max_value: 1000
normal_value: 1000
- type: custom:button-card - type: custom:button-card
template: template:
- xs - xs