mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-02 23:54:25 +00:00
197 lines
7.0 KiB
YAML
197 lines
7.0 KiB
YAML
- type: custom:layout-card
|
|
layout_type: custom:horizontal-layout
|
|
layout:
|
|
max_cols: 2
|
|
cards:
|
|
- type: custom:decluttering-card
|
|
template: coloured-vertical-stack
|
|
variables:
|
|
- color: "#6b8988"
|
|
- cards:
|
|
- type: custom:decluttering-card
|
|
template: v3_title
|
|
variables:
|
|
- title: 📺 Living room
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:button-card
|
|
template: v3_chip_person
|
|
entity: input_boolean.georgi_home
|
|
entity_picture: /local/images/people/georgi.jpg
|
|
name: Georgi
|
|
- type: custom:button-card
|
|
template: v3_chip_person
|
|
entity: input_boolean.player_2_home
|
|
entity_picture: /local/images/people/maya.jpg
|
|
name: Maya
|
|
- type: custom:button-card
|
|
template: v3_chip_name
|
|
entity: binary_sensor.living_room_right_window_contact
|
|
name: Window
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:button-card
|
|
template: v3_chip_name
|
|
entity: binary_sensor.living_room_presence
|
|
name: Presence
|
|
- type: custom:button-card
|
|
template: v3_chip_name
|
|
entity: binary_sensor.multisensor_6_home_security_motion_detection
|
|
name: Motion
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:button-card
|
|
template: v3_chip
|
|
entity: sensor.multisensor_6_temperature
|
|
- type: custom:button-card
|
|
template: v3_chip
|
|
entity: sensor.multisensor_6_relative_humidity
|
|
- type: custom:button-card
|
|
template: v3_chip
|
|
entity: sensor.aqara_tvoc_voc
|
|
icon: mdi:weather-windy
|
|
|
|
- type: custom:decluttering-card
|
|
template: v3_section_title
|
|
variables:
|
|
- title: Scenes
|
|
- type: custom:decluttering-card
|
|
template: v3_horizontal_stack_card
|
|
variables:
|
|
- cards:
|
|
- type: custom:button-card
|
|
template: v3_scene
|
|
entity: scene.living_room_ambient_neon
|
|
name: Neon
|
|
variables:
|
|
scene_color_1: rgba(255, 0, 190, 1)
|
|
scene_color_2: rgba(0, 255, 190, 1)
|
|
- type: custom:button-card
|
|
template: v3_scene
|
|
entity: scene.living_room_ambient_default
|
|
name: Warm
|
|
variables:
|
|
scene_color_1: rgba(240, 240, 190, 1)
|
|
scene_color_2: rgba(255, 210, 170, 1)
|
|
- type: custom:decluttering-card
|
|
template: v3_section_title
|
|
variables:
|
|
- title: Lights
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:button-card
|
|
template: v3_button_light
|
|
entity: light.living_room
|
|
name: All
|
|
- type: custom:button-card
|
|
template: v3_button_light
|
|
entity: light.living_room_main
|
|
name: Main
|
|
- type: custom:button-card
|
|
template: v3_button_light
|
|
entity: light.hue_ambiance_7
|
|
name: PC
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:button-card
|
|
template: v3_button_light
|
|
entity: light.living_room_ambient
|
|
name: Ambient
|
|
- type: custom:button-card
|
|
template: v3_button_light
|
|
entity: light.living_room_ambient_main
|
|
name: Ambient Main
|
|
- type: custom:button-card
|
|
template: v3_button
|
|
entity: light.light_lohas_2
|
|
name: Ambient 2nd
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:button-card
|
|
template: v3_button
|
|
entity: script.living_room_candle_on
|
|
name: Candle
|
|
icon: mdi:candle
|
|
show_state: false
|
|
tap_action:
|
|
action: more-info
|
|
|
|
|
|
- type: custom:decluttering-card
|
|
template: coloured-vertical-stack
|
|
variables:
|
|
- color: "#6b8988"
|
|
- cards:
|
|
- type: custom:decluttering-card
|
|
template: v3_section_title
|
|
variables:
|
|
- title: "Devices"
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:button-card
|
|
template: v3_button
|
|
entity: media_player.living_room
|
|
name: Sonos
|
|
hold_action:
|
|
action: call-service
|
|
service: media_player.media_play_pause
|
|
service_data:
|
|
entity_id: media_player.living_room
|
|
- type: custom:button-card
|
|
template: v3_button_tv
|
|
entity: media_player.living_room_tv
|
|
name: TV
|
|
- type: custom:button-card
|
|
template: v3_button
|
|
entity: switch.cadmium
|
|
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:button-card
|
|
template: v3_button_cover
|
|
entity: cover.living_room
|
|
name: Blinds
|
|
tap_action:
|
|
action: call-service
|
|
service: script.toggle_living_room_cover
|
|
- type: custom:button-card
|
|
template: v3_button_radiator
|
|
entity: climate.living_room_valve
|
|
name: Radiator
|
|
- type: custom:button-card
|
|
template: v3_button_ac
|
|
entity: climate.toshiba_ac
|
|
name: AC
|
|
tap_action:
|
|
action: call-service
|
|
service: script.toshiba_ac_toggle
|
|
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:button-card
|
|
template: v3_button
|
|
entity: sensor.printer_status
|
|
name: Printer
|
|
variables:
|
|
value_has_error: |
|
|
[[[
|
|
return states['sensor.printer_black_toner_remaining'].state < 10 ||
|
|
states['sensor.printer_drum_remaining_pages'].state < 500
|
|
]]]
|
|
- type: custom:button-card
|
|
template: v3_button_power
|
|
entity: switch.desk_outlet
|
|
name: Desk Outlet
|
|
variables:
|
|
power_sensor: sensor.desk_outlet_power
|
|
|
|
- type: custom:decluttering-card
|
|
template: v3_section_title
|
|
variables:
|
|
- title: Camera
|
|
- type: picture-glance
|
|
camera_image: camera.mercury_amcrest_1
|
|
entities: []
|
|
|
|
- !include ../popup_cards.yaml
|