mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-08 10:38:44 +00:00
Minor improvements
This commit is contained in:
@@ -10,18 +10,24 @@ brita_card:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
template: [v3_button, v3_popup_button]
|
||||
name: New filter
|
||||
entity: script.brita_new_filter
|
||||
show_state: false
|
||||
tap_action:
|
||||
action: toggle
|
||||
styles:
|
||||
card:
|
||||
- margin-left: 8px
|
||||
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
template: [v3_button, v3_popup_button]
|
||||
name: Pour water
|
||||
entity: script.brita_pour_water
|
||||
show_state: false
|
||||
tap_action:
|
||||
action: toggle
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
template: [v3_button, v3_popup_button]
|
||||
name: Filter
|
||||
entity: binary_sensor.brita_should_change_filter
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
living_room_climate_card:
|
||||
card:
|
||||
type: custom:decluttering-card
|
||||
template: climate_card
|
||||
variables:
|
||||
- main_entity: sensor.multisensor_6_temperature
|
||||
- left_entity: sensor.multisensor_6_relative_humidity
|
||||
- left_name: Humidity (6)
|
||||
- right_entity: sensor.multisensor_6_luminance
|
||||
- right_name: Luminance (6)
|
||||
@@ -1,18 +0,0 @@
|
||||
temperature_card:
|
||||
default:
|
||||
- main_name: "Temperature"
|
||||
card:
|
||||
type: vertical-stack
|
||||
cards:
|
||||
- type: "custom:mini-graph-card"
|
||||
name: "[[main_name]]"
|
||||
entities:
|
||||
- "[[main_entity]]"
|
||||
cache: false
|
||||
group_by: hour
|
||||
hours_to_show: 72
|
||||
line_width: 2
|
||||
show:
|
||||
average: true
|
||||
extrema: true
|
||||
fill: true
|
||||
@@ -28,21 +28,3 @@ sonos_media_player:
|
||||
idle_view:
|
||||
when_idle: true
|
||||
when_standby: true
|
||||
|
||||
sonos_media_player_small:
|
||||
card:
|
||||
type: custom:mini-media-player
|
||||
artwork: cover
|
||||
name: "[[name]]"
|
||||
entity: "[[player]]"
|
||||
speaker_group:
|
||||
entities: *entities_in_gorup
|
||||
hide:
|
||||
power: true
|
||||
icon: true
|
||||
controls: true
|
||||
shuffle: true
|
||||
info: true
|
||||
idle_view:
|
||||
when_idle: true
|
||||
when_standby: true
|
||||
|
||||
@@ -1,77 +0,0 @@
|
||||
media_with_controls:
|
||||
default:
|
||||
- title: "Media"
|
||||
- player_name:
|
||||
card:
|
||||
type: vertical-stack
|
||||
title: "[[title]]"
|
||||
cards:
|
||||
- type: custom:decluttering-card
|
||||
template: sonos_media_player
|
||||
variables:
|
||||
- player: "[[player]]"
|
||||
- name: "[[player_name]]"
|
||||
- sync_volume: false
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: xs
|
||||
entity: script.sonos_volume_10
|
||||
icon: mdi:volume-low
|
||||
name: vol 10
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: script.sonos_volume_10
|
||||
- type: custom:button-card
|
||||
template: xs
|
||||
entity: script.sonos_volume_20
|
||||
icon: mdi:volume-medium
|
||||
name: vol 20
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: script.sonos_volume_20
|
||||
- type: custom:button-card
|
||||
template: xs
|
||||
entity: script.music_play
|
||||
name: Chill
|
||||
icon: mdi:music
|
||||
tap_action:
|
||||
action: toggle
|
||||
- type: custom:button-card
|
||||
template: xs
|
||||
entity: script.music_play
|
||||
name: Chill 2
|
||||
icon: mdi:music
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: script.music_play
|
||||
service_data:
|
||||
playlist: "Songs for a Romantic Evening"
|
||||
shuffle: true
|
||||
volume_level: 0.1
|
||||
- type: custom:button-card
|
||||
template: xs
|
||||
entity: script.music_play
|
||||
name: Retro
|
||||
icon: mdi:music
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: script.music_play
|
||||
service_data:
|
||||
playlist: "Retro"
|
||||
- type: custom:button-card
|
||||
template: [xs, with_state_background]
|
||||
entity: binary_sensor.sonos_is_bedroom_master
|
||||
name: Bedroom
|
||||
icon: mdi:speaker-multiple
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: script.sonos_join_bedroom
|
||||
- type: custom:button-card
|
||||
template: [xs, with_state_background]
|
||||
entity: binary_sensor.sonos_is_living_room_master
|
||||
name: TV
|
||||
icon: mdi:speaker-multiple
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: script.sonos_join_tv
|
||||
@@ -20,11 +20,11 @@ v3_media_with_controls:
|
||||
template: v3_section_title
|
||||
variables:
|
||||
- title: Volume
|
||||
- margin_left: 16px
|
||||
- margin_left: 8px
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: v3_xs_button
|
||||
template: [v3_xs_button, v3_popup_button]
|
||||
show_state: false
|
||||
entity: script.sonos_volume_10
|
||||
icon: mdi:volume-medium
|
||||
@@ -34,11 +34,9 @@ v3_media_with_controls:
|
||||
service: script.sonos_volume_10
|
||||
styles:
|
||||
card:
|
||||
- margin-left: 16px
|
||||
variables:
|
||||
background_color: rgba(60, 60, 60, 1)
|
||||
- margin-left: 8px
|
||||
- type: custom:button-card
|
||||
template: v3_xs_button
|
||||
template: [v3_xs_button, v3_popup_button]
|
||||
show_state: false
|
||||
entity: script.sonos_volume_20
|
||||
icon: mdi:volume-high
|
||||
@@ -46,19 +44,17 @@ v3_media_with_controls:
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: script.sonos_volume_20
|
||||
variables:
|
||||
background_color: rgba(60, 60, 60, 1)
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: custom:decluttering-card
|
||||
template: v3_section_title
|
||||
variables:
|
||||
- title: Group
|
||||
- margin_left: 16px
|
||||
- margin_left: 8px
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: v3_xs_button
|
||||
template: [v3_xs_button, v3_popup_button]
|
||||
entity: binary_sensor.sonos_is_bedroom_master
|
||||
name: Bedroom
|
||||
icon: mdi:speaker-multiple
|
||||
@@ -67,19 +63,15 @@ v3_media_with_controls:
|
||||
service: script.sonos_join_bedroom
|
||||
styles:
|
||||
card:
|
||||
- margin-left: 16px
|
||||
variables:
|
||||
background_color: rgba(60, 60, 60, 1)
|
||||
- margin-left: 8px
|
||||
- type: custom:button-card
|
||||
template: v3_xs_button
|
||||
template: [v3_xs_button, v3_popup_button]
|
||||
entity: binary_sensor.sonos_is_living_room_master
|
||||
name: TV
|
||||
icon: mdi:speaker-multiple
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: script.sonos_join_tv
|
||||
variables:
|
||||
background_color: rgba(60, 60, 60, 1)
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: custom:decluttering-card
|
||||
|
||||
Reference in New Issue
Block a user