mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-04-29 06:48:16 +00:00
179 lines
6.1 KiB
YAML
179 lines
6.1 KiB
YAML
- type: custom:mod-card
|
|
style:
|
|
layout-card:
|
|
.: |
|
|
* {
|
|
--primary-color: #6b8988
|
|
}
|
|
|
|
$:
|
|
horizontal-layout:
|
|
$:
|
|
.: |
|
|
#columns {
|
|
margin: 0 20px;
|
|
grid-gap: 20px;
|
|
}
|
|
card:
|
|
type: custom:layout-card
|
|
layout_type: custom:horizontal-layout
|
|
layout:
|
|
max_cols: 3
|
|
cards:
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: custom:decluttering-card
|
|
template: v3_title
|
|
variables:
|
|
- title: Living room
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:button-card
|
|
template: v3_badge_temp
|
|
entity: sensor.multisensor_6_temperature
|
|
- type: custom:button-card
|
|
template: v3_badge_humidity
|
|
entity: sensor.multisensor_6_relative_humidity
|
|
- type: custom:button-card
|
|
template: v3_badge
|
|
entity: sensor.aqara_tvoc_voc
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:button-card
|
|
template: v3_button_person
|
|
entity: input_boolean.georgi_home
|
|
styles:
|
|
card:
|
|
- background-image: url("/local/images/people/georgi.jpg")
|
|
- type: custom:button-card
|
|
template: v3_button_person
|
|
entity: input_boolean.player_2_home
|
|
styles:
|
|
card:
|
|
- background-image: url("/local/images/people/maya.jpg")
|
|
- type: custom:button-card
|
|
template: v3_badge_icon
|
|
entity: binary_sensor.toshiba_ac_conditions_met
|
|
- type: custom:button-card
|
|
template: v3_badge_icon
|
|
entity: binary_sensor.living_room_right_window
|
|
|
|
- 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.pc
|
|
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: vertical-stack
|
|
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
|
|
- 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_radiator_mode
|
|
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
|
|
- type: custom:button-card
|
|
template: v3_button_power
|
|
entity: switch.desk_outlet
|
|
name: Desk Outlet
|
|
variables:
|
|
power_sensor: sensor.desk_outlet_power
|
|
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: custom:decluttering-card
|
|
template: v3_section_title
|
|
variables:
|
|
- title: Camera
|
|
- type: picture-glance
|
|
camera_image: camera.mercury_amcrest_1
|
|
entities: []
|