mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-21 10:57:43 +00:00
Move config out of subfolder
This commit is contained in:
@@ -0,0 +1,158 @@
|
||||
- type: custom:mod-card
|
||||
style:
|
||||
layout-card:
|
||||
.: |
|
||||
* {
|
||||
--primary-color: #6A737A
|
||||
}
|
||||
|
||||
$:
|
||||
horizontal-layout:
|
||||
$:
|
||||
.: |
|
||||
#columns {
|
||||
margin: 0 20px;
|
||||
grid-gap: 20px;
|
||||
}
|
||||
card:
|
||||
type: custom:layout-card
|
||||
layout_type: custom:horizontal-layout
|
||||
layout:
|
||||
max_cols: 2
|
||||
cards:
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: custom:decluttering-card
|
||||
template: v3_title
|
||||
variables:
|
||||
- title: Preferences
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: v3_badge
|
||||
entity: binary_sensor.someone_home
|
||||
- type: custom:button-card
|
||||
template: v3_badge
|
||||
entity: binary_sensor.someone_sleeping
|
||||
- type: custom:button-card
|
||||
template: v3_badge
|
||||
entity: sensor.house_mode
|
||||
|
||||
- type: custom:decluttering-card
|
||||
template: v3_section_title
|
||||
variables:
|
||||
- title: Toggles
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: [v3_button, with_state_indicator]
|
||||
entity: input_boolean.alarm_enabled
|
||||
state_display: >-
|
||||
[[[
|
||||
if (entity.state === 'off') { return 'Off'; }
|
||||
const time = states['input_datetime.alarm_time'].state;
|
||||
return time.split(':').slice(0, -1).join(':');
|
||||
]]]
|
||||
name: Alarm
|
||||
variables:
|
||||
state_indicator_id: automation.alarm_set_time
|
||||
- type: custom:button-card
|
||||
template: v3_button
|
||||
entity: input_boolean.speech_notifications
|
||||
name: Speech
|
||||
- type: custom:button-card
|
||||
template: v3_button
|
||||
entity: input_boolean.simulation_mode
|
||||
name: Simulation
|
||||
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: v3_button
|
||||
name: Guests
|
||||
entity: input_boolean.guest_mode
|
||||
- type: custom:button-card
|
||||
template: v3_button
|
||||
entity: input_boolean.guest_bedroom
|
||||
name: G. Bedroom Occupied
|
||||
- type: custom:button-card
|
||||
template: v3_button
|
||||
entity: input_select.guest_bedroom_mode
|
||||
name: G. Bedroom
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: input_select.select_next
|
||||
service_data:
|
||||
entity_id: input_select.guest_bedroom_mode
|
||||
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: v3_button
|
||||
entity: binary_sensor.pi_hole_enabled
|
||||
name: Pi-Hole
|
||||
icon: mdi:pi-hole
|
||||
- type: custom:button-card
|
||||
template: v3_button
|
||||
entity: switch.mercury_home_mode
|
||||
name: Mercury
|
||||
|
||||
- type: custom:decluttering-card
|
||||
template: v3_section_title
|
||||
variables:
|
||||
- title: Media
|
||||
- type: entities
|
||||
entities:
|
||||
- input_boolean.coming_home_play_music
|
||||
- type: divider
|
||||
- input_number.bathroom_high_volume
|
||||
- input_number.wake_up_volume
|
||||
- input_text.wake_up_spotify_playlist
|
||||
- type: divider
|
||||
- automation.tv_plex_setup_house_for_plex
|
||||
- automation.tv_plex_restore_house_after_plex
|
||||
- light.browser_hallway
|
||||
- light.browser_kitchen
|
||||
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: custom:decluttering-card
|
||||
template: v3_section_title
|
||||
variables:
|
||||
- title: Climate
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: v3_button
|
||||
entity: input_boolean.heating_enabled
|
||||
name: Central Heating
|
||||
- type: custom:button-card
|
||||
template: v3_button
|
||||
entity: input_boolean.ac_heating
|
||||
name: AC Heating
|
||||
- type: custom:button-card
|
||||
template: v3_button
|
||||
entity: script.turn_on_all_radiators
|
||||
name: Turn On Radiators
|
||||
|
||||
- type: entities
|
||||
show_header_toggle: false
|
||||
entities:
|
||||
- input_number.radiators_temperature
|
||||
- type: divider
|
||||
- input_number.toshiba_heat_temp
|
||||
- input_number.toshiba_cool_temp
|
||||
- input_number.toshiba_trigger_temp
|
||||
|
||||
|
||||
- type: custom:decluttering-card
|
||||
template: v3_section_title
|
||||
variables:
|
||||
- title: Preferences Milena
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: v3_button
|
||||
entity: input_number.guest_bedroom_light_temp
|
||||
|
||||
- !include ../popup_cards.yaml
|
||||
Reference in New Issue
Block a user