mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-04-29 06:48:16 +00:00
246 lines
6.0 KiB
YAML
246 lines
6.0 KiB
YAML
binary_sensor.house_mode:
|
|
title: House mode
|
|
style: &popup_style
|
|
'--ha-card-border-radius': 0 0 0.8em 0.8em
|
|
border-radius: 0.8em
|
|
opacity: 0.95
|
|
margin-bottom: 200px
|
|
min-width: 400px
|
|
card:
|
|
type: entities
|
|
entities:
|
|
- input_select.house_mode
|
|
|
|
sensor.synology_type_volume_1:
|
|
title: Platinum
|
|
style: &popup_style_no_margin
|
|
'--ha-card-border-radius': 0 0 0.8em 0.8em
|
|
border-radius: 0.8em
|
|
opacity: 0.95
|
|
margin-bottom: 0
|
|
height: 80%
|
|
min-width: 400px
|
|
card:
|
|
type: custom:decluttering-card
|
|
template: platinum_card
|
|
|
|
binary_sensor.motion_1_ias_zone:
|
|
title: Kitchen motion
|
|
style: &broad_popup_style
|
|
'--ha-card-border-radius': 0 0 0.8em 0.8em
|
|
border-radius: 0.8em
|
|
opacity: 0.95
|
|
margin-bottom: 200px
|
|
width: 40%
|
|
min-width: 500px
|
|
card:
|
|
type: vertical-stack
|
|
cards:
|
|
- type: glance
|
|
entities:
|
|
- entity: binary_sensor.motion_1_ias_zone
|
|
- entity: sensor.motion_1_illuminance
|
|
- entity: binary_sensor.motion_1_occupancy
|
|
- entity: sensor.motion_1_power
|
|
- type: "custom:mini-graph-card"
|
|
animate: true
|
|
points_per_hour: 1
|
|
hours_to_show: 48
|
|
show:
|
|
graph: bar
|
|
average: true
|
|
extrema: true
|
|
entities:
|
|
- entity: sensor.motion_1_illuminance
|
|
|
|
binary_sensor.motion_2_ias_zone:
|
|
title: Hallway motion
|
|
style: *broad_popup_style
|
|
card:
|
|
type: vertical-stack
|
|
cards:
|
|
- type: glance
|
|
entities:
|
|
- entity: binary_sensor.motion_2_ias_zone
|
|
- entity: sensor.motion_2_illuminance
|
|
- entity: binary_sensor.motion_2_occupancy
|
|
- entity: sensor.motion_2_power
|
|
|
|
- type: "custom:mini-graph-card"
|
|
animate: true
|
|
points_per_hour: 1
|
|
hours_to_show: 48
|
|
show:
|
|
graph: bar
|
|
average: true
|
|
extrema: true
|
|
entities:
|
|
- entity: sensor.motion_2_illuminance
|
|
|
|
|
|
switch.camera:
|
|
title: Security camera
|
|
style: *popup_style
|
|
card:
|
|
type: vertical-stack
|
|
cards:
|
|
- type: picture-entity
|
|
aspect_ratio: 50%
|
|
entity: camera.amcrest_camera
|
|
show_name: true
|
|
show_state: true
|
|
|
|
- type: entities
|
|
title: Camera Controls
|
|
show_header_toggle: false
|
|
entities:
|
|
- switch.camera
|
|
- binary_sensor.amcrest_camera_online
|
|
- binary_sensor.amcrest_camera_motion_detected
|
|
|
|
|
|
media_player.kitchen:
|
|
title: Kitchen Sonos
|
|
style: *popup_style
|
|
card:
|
|
type: custom:decluttering-card
|
|
template: sonos_media_player
|
|
variables:
|
|
- player: media_player.kitchen
|
|
|
|
media_player.bathroom:
|
|
title: Bathroom Sonos
|
|
style: *popup_style
|
|
card:
|
|
type: custom:decluttering-card
|
|
template: sonos_media_player
|
|
variables:
|
|
- player: media_player.bathroom
|
|
|
|
media_player.master_bedroom:
|
|
title: Master bedroom Sonos
|
|
style: *popup_style
|
|
card:
|
|
type: custom:decluttering-card
|
|
template: sonos_media_player
|
|
variables:
|
|
- player: media_player.master_bedroom
|
|
|
|
media_player.nvidia_shield: &nvidia_shield
|
|
title: TV
|
|
style: *popup_style
|
|
card:
|
|
type: vertical-stack
|
|
cards:
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:button-card
|
|
icon: mdi:set-top-box
|
|
name: Set to Shield
|
|
template: default
|
|
tap_action:
|
|
action: call-service
|
|
service: media_player.select_source
|
|
service_data:
|
|
entity_id: media_player.living_room_tv
|
|
source: Shield
|
|
|
|
- type: custom:button-card
|
|
name: Set to Switch
|
|
icon: mdi:video-input-hdmi
|
|
template: default
|
|
tap_action:
|
|
action: call-service
|
|
service: media_player.select_source
|
|
service_data:
|
|
entity_id: media_player.living_room_tv
|
|
source: Switch
|
|
|
|
|
|
- type: custom:button-card
|
|
name: Bulsatcom
|
|
icon: mdi:remote-tv
|
|
template: default
|
|
tap_action:
|
|
action: call-service
|
|
service: script.tv_bulsatcom_toggle
|
|
|
|
- type: "custom:mini-media-player"
|
|
entity: media_player.nvidia_shield
|
|
|
|
- type: "custom:mini-media-player"
|
|
entity: media_player.living_room_tv
|
|
|
|
- type: custom:decluttering-card
|
|
template: sonos_media_player
|
|
variables:
|
|
- player: media_player.living_room
|
|
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:decluttering-card
|
|
template: hdmi_switch_remote_card
|
|
- type: custom:decluttering-card
|
|
template: bulsatcom_remote_card
|
|
|
|
media_player.living_room_tv: *nvidia_shield
|
|
|
|
light.living_room_main_lights:
|
|
title: Living room lights
|
|
style: *popup_style
|
|
card:
|
|
type: custom:mod-card
|
|
card:
|
|
type: custom:light-popup-card
|
|
entity: light.living_room_main_lights
|
|
fullscreen: false
|
|
actionsInARow: 2
|
|
actions:
|
|
- service: light.toggle
|
|
service_data:
|
|
entity_id: light.living_room_main_lights
|
|
color: "#ffffcc"
|
|
name: Toggle
|
|
|
|
sensor.bedroom_weather_temperature:
|
|
title: Bedroom climate
|
|
style: *broad_popup_style
|
|
card:
|
|
type: custom:decluttering-card
|
|
template: bedroom_temperature_card
|
|
|
|
sensor.bedroom_weather_humidity:
|
|
title: Bedroom climate
|
|
style: *broad_popup_style
|
|
card:
|
|
type: custom:decluttering-card
|
|
template: bedroom_humidity_card
|
|
|
|
fan.philips_airpurifier:
|
|
title: Bedroom air
|
|
style: *popup_style
|
|
card:
|
|
type: custom:decluttering-card
|
|
template: philips_airpurifier_card
|
|
|
|
switch.titanium_power:
|
|
title: Titanium
|
|
style: *popup_style
|
|
card:
|
|
type: custom:decluttering-card
|
|
template: titanium_card
|
|
|
|
sensor.fast_com_download:
|
|
title: Network Speed
|
|
style: *broad_popup_style
|
|
card:
|
|
type: custom:decluttering-card
|
|
template: network_card
|
|
|
|
binary_sensor.pi_hole_enabled:
|
|
title: Pi-Hole
|
|
style: *broad_popup_style
|
|
card:
|
|
type: custom:decluttering-card
|
|
template: pi_hole_card
|