Files
sarah/config/tablet-lovelace.yaml
T
2020-04-04 15:30:43 +03:00

173 lines
6.1 KiB
YAML

custom_header:
hide_header: true
decluttering_templates: !include_dir_merge_named lovelace/decluttering_templates
button_card_templates: !include_dir_merge_named lovelace/button_card_templates
popup_cards:
light.ceiling_lights:
title: Ceiling lights
style:
padding-bottom: 30px
card:
type: custom:mod-card
card:
type: custom:light-popup-card
entity: light.ceiling_lights
fullscreen: false
actionsInARow: 2
actions:
- service: light.toggle
service_data:
entity_id: light.ceiling_lights
color: "#ffffcc"
name: Toggle
title: Tablet
views:
- title: Home
path: default_view
icon: "mdi:home"
badges: []
cards:
# Column 1
- type: vertical-stack
cards:
- type: vertical-stack
title: Lights
cards:
- type: horizontal-stack
cards:
- type: custom:button-card
template: small
entity: light.ceiling_lights
name: Ceiling
- type: custom:button-card
template: small
entity: light.living_room_main_lights
name: Living room
- type: custom:button-card
template: small
entity: light.master_bedroom_main_lights
name: "M. Bedroom"
- type: custom:button-card
template: small
entity: light.tuya_hallway_main_lights
name: Hallway
- type: horizontal-stack
cards:
- type: custom:button-card
template: small
entity: light.tuya_kitchen_main_lights
name: Kitchen
- type: custom:button-card
template: small
entity: light.pc
- type: custom:button-card
template: small
entity: light.bedside_light
name: Bedside
- type: custom:button-card
template: small
entity: light.tuya_hallway_entrance_lights
name: Entrance
- type: horizontal-stack
title: Devices
cards:
- type: custom:button-card
template: small
entity: switch.camera
- type: custom:button-card
template: small
entity: media_player.living_room_tv
- type: custom:button-card
template: small
entity: media_player.nvidia_shield
- type: custom:button-card
template: small
entity: fan.philips_airpurifier
- type: vertical-stack
title: Sonos
cards:
- type: horizontal-stack
cards:
- type: custom:decluttering-card
template: sonos_media_player_small
variables:
- player: media_player.living_room
- type: custom:decluttering-card
template: sonos_media_player_small
variables:
- player: media_player.master_bedroom
# Column 2
- type: vertical-stack
cards:
- type: vertical-stack
title: Manual controls
cards:
- type: horizontal-stack
cards:
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: custom:button-card
template: small
entity: input_boolean.speech_notifications
name: Speech
- type: custom:button-card
template: small
entity: input_boolean.georgi_home
- type: horizontal-stack
cards:
- type: custom:button-card
template: small
entity: input_boolean.sleep_mode
- type: custom:button-card
template: small
entity: input_boolean.guest_mode
- type: vertical-stack
cards:
- type: custom:button-card
template: small
entity: input_boolean.alarm_enabled
- type: entities
style: |
ha-card {
padding-bottom: 9px
}
entities:
- entity: input_datetime.alarm_time
name: "Time"
- type: horizontal-stack
title: Sensors
cards:
- type: custom:button-card
template: small
entity: binary_sensor.front_door_on_off_wrapper
- type: custom:button-card
template: small
entity: binary_sensor.living_room_right_window_on_off_wrapper
name: Living room
- type: custom:button-card
template: small
entity: binary_sensor.bedroom_right_window_on_off_wrapper
name: Master bedroom
- type: vertical-stack
title: Sonos
cards:
- type: horizontal-stack
cards:
- type: custom:decluttering-card
template: sonos_media_player_small
variables:
- player: media_player.kitchen
- type: custom:decluttering-card
template: sonos_media_player_small
variables:
- player: media_player.bathroom