Update kitchen dashboard. Remove kitchen browser sensor

This commit is contained in:
2020-05-01 18:47:09 +03:00
parent 981a7063a9
commit 714bbc21bd
2 changed files with 24 additions and 30 deletions

View File

@@ -46,20 +46,36 @@
- height: 46px
- type: horizontal-stack
title: Brita
title: Devices
cards:
- type: custom:decluttering-card
template: brita_water_card
- type: custom:button-card
template: default
name: New filter
entity: script.brita_new_filter
entity: media_player.nvidia_shield
name: TV
icon: mdi:television
tap_action:
action: toggle
state:
- value: 'playing'
styles: &on_styles
card:
- background-color: var(--primary-color)
- color: black
icon:
- color: black
- value: 'standby'
styles: *on_styles
- value: 'on'
styles: *on_styles
- value: 'home'
styles: *on_styles
- value: 'idle'
styles: *on_styles
- type: custom:button-card
template: default
name: Filter
entity: binary_sensor.brita_should_change_filter
entity: switch.titanium_power
- type: vertical-stack
cards:
@@ -70,6 +86,7 @@
template: sonos_media_player
variables:
- player: media_player.kitchen
- sync_volume: false
- type: horizontal-stack
cards:
- type: custom:button-card
@@ -115,32 +132,15 @@
- type: horizontal-stack
cards:
- type: custom:button-card
template:
- xs
- with_state_background
entity: binary_sensor.browser_kitchen
name: Motion
- type: custom:button-card
template:
- xs
- with_state_background
entity: binary_sensor.motion_1_ias_zone
name: Motion 2
name: Motion
- type: custom:button-card
template:
- xs
- with_state_background
entity: binary_sensor.motion_2_ias_zone
name: Hallway
- type: custom:button-card
template:
- xs
- with_state_background
entity: media_player.nvidia_shield
name: Shield
- type: custom:button-card
template:
- xs
- with_state_background
entity: switch.titanium_power

View File

@@ -211,8 +211,6 @@
template: default
entity: binary_sensor.living_room_right_window_on_off_wrapper
name: Living room
- type: horizontal-stack
cards:
- type: custom:button-card
template:
- default
@@ -221,16 +219,12 @@
name: Hallway
variables:
state_indicator_id: automation.lighting_hallway_day_mode_motion_turn_lights_on
- type: custom:button-card
template: default
entity: binary_sensor.browser_kitchen
name: Kitchen
- type: custom:button-card
template:
- default
- with_state_indicator
entity: binary_sensor.motion_1_ias_zone
name: Kitchen 2
name: Kitchen
variables:
state_indicator_id: automation.lighting_kitchen_day_mode_motion_turn_lights_on_after_sunset