mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-15 12:34:42 +00:00
Add Simulation Mode
This commit is contained in:
@@ -143,7 +143,6 @@ cards:
|
||||
icon: mdi:shield-home
|
||||
entities:
|
||||
- automation.security_door_opened_while_away
|
||||
- automation.camera_startup
|
||||
|
||||
- type: entities
|
||||
title: Clock
|
||||
@@ -214,3 +213,16 @@ cards:
|
||||
- automation.magic_cube_music_play_pause_on_knock
|
||||
- automation.magic_cube_music_volume_down_on_rotate_left
|
||||
- automation.magic_cube_music_volume_up_on_rotate_right
|
||||
|
||||
- type: entities
|
||||
title: Simulation
|
||||
icon: mdi:robot
|
||||
show_header_toggle: false
|
||||
entities:
|
||||
- automation.simulation_mode_enable
|
||||
- automation.simulation_mode_disable
|
||||
- automation.simulation_mode_0300
|
||||
- automation.simulation_mode_1100
|
||||
- automation.simulation_mode_1400
|
||||
- automation.simulation_mode_1700
|
||||
- automation.simulation_mode_2200
|
||||
|
||||
@@ -171,7 +171,7 @@
|
||||
title: Manual controls
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: [default, with_state_indicator]
|
||||
template: [small, with_state_indicator, with_state_background]
|
||||
entity: input_boolean.alarm_enabled
|
||||
state_display: >-
|
||||
[[[
|
||||
@@ -182,30 +182,34 @@
|
||||
show_name: false
|
||||
styles:
|
||||
icon:
|
||||
- transform: translateY(-8px) # adjusted for state indicator size
|
||||
- transform: translateY(0) # adjusted for state indicator size
|
||||
state:
|
||||
- transform: translateY(-13px) # adjusted for state indicator size
|
||||
- transform: translateY(-4px) # adjusted for state indicator size
|
||||
variables:
|
||||
state_indicator_id: automation.alarm_set_time
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
template: [small, with_state_background]
|
||||
entity: input_boolean.speech_notifications
|
||||
name: Speech
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
template: [small, with_state_background]
|
||||
entity: binary_sensor.house_mode
|
||||
name: House
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: input_select.select_next
|
||||
service_data:
|
||||
entity_id: input_select.house_mode
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
template: [small, with_state_background]
|
||||
name: Guests
|
||||
entity: input_boolean.guest_mode
|
||||
tap_action:
|
||||
action: toggle
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
template: [small, with_state_background]
|
||||
entity: input_boolean.simulation_mode
|
||||
name: Simulation
|
||||
- type: custom:button-card
|
||||
template: [small, with_state_background]
|
||||
entity: switch.mercury_home_mode
|
||||
name: Mercury
|
||||
|
||||
|
||||
Reference in New Issue
Block a user