mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-13 19:54:42 +00:00
Tweak presence
This commit is contained in:
@@ -46,6 +46,7 @@ cards:
|
|||||||
- input_boolean.routine_welcome_home
|
- input_boolean.routine_welcome_home
|
||||||
- automation.presence_georgi_arrival_detection
|
- automation.presence_georgi_arrival_detection
|
||||||
- automation.presence_player_2_arrival_detection
|
- automation.presence_player_2_arrival_detection
|
||||||
|
- automation.presence_player_2_arrival_best_effort
|
||||||
- automation.presence_georgi_leaving
|
- automation.presence_georgi_leaving
|
||||||
- automation.presence_player_2_leaving
|
- automation.presence_player_2_leaving
|
||||||
- automation.presence_coming_home
|
- automation.presence_coming_home
|
||||||
|
|||||||
@@ -19,10 +19,6 @@ card:
|
|||||||
# Column 1
|
# Column 1
|
||||||
- type: vertical-stack
|
- type: vertical-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:decluttering-card
|
|
||||||
template: v3_section_title
|
|
||||||
variables:
|
|
||||||
- title: Sensors
|
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
|
|||||||
@@ -174,6 +174,10 @@ card:
|
|||||||
tap_action:
|
tap_action:
|
||||||
action: call-service
|
action: call-service
|
||||||
service: script.toggle_living_room_cover
|
service: script.toggle_living_room_cover
|
||||||
|
- type: custom:button-card
|
||||||
|
template: v3_tablet_button
|
||||||
|
entity: input_boolean.simulation_mode
|
||||||
|
name: Simulation
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [v3_button_purifier, v3_tablet_button]
|
template: [v3_button_purifier, v3_tablet_button]
|
||||||
entity: fan.philips_airpurifier
|
entity: fan.philips_airpurifier
|
||||||
|
|||||||
@@ -18,12 +18,20 @@ card:
|
|||||||
cards:
|
cards:
|
||||||
- type: vertical-stack
|
- type: vertical-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:decluttering-card
|
|
||||||
template: v3_section_title
|
|
||||||
variables:
|
|
||||||
- title: Sensors
|
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
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
|
- type: custom:button-card
|
||||||
template: v3_badge
|
template: v3_badge
|
||||||
entity: sensor.quarantined_percent
|
entity: sensor.quarantined_percent
|
||||||
@@ -110,6 +118,10 @@ card:
|
|||||||
tap_action:
|
tap_action:
|
||||||
action: call-service
|
action: call-service
|
||||||
service: script.toggle_living_room_cover
|
service: script.toggle_living_room_cover
|
||||||
|
- type: custom:button-card
|
||||||
|
template: v3_tablet_button
|
||||||
|
entity: input_boolean.simulation_mode
|
||||||
|
name: Simulation
|
||||||
|
|
||||||
|
|
||||||
- type: custom:sun-card
|
- type: custom:sun-card
|
||||||
|
|||||||
@@ -45,5 +45,5 @@ automation:
|
|||||||
data:
|
data:
|
||||||
message: "Goodbye!"
|
message: "Goodbye!"
|
||||||
# TODO: add conditions
|
# TODO: add conditions
|
||||||
- service: input_boolean.turn_off
|
# - service: input_boolean.turn_off
|
||||||
entity_id: input_boolean.georgi_home
|
# entity_id: input_boolean.georgi_home
|
||||||
|
|||||||
Reference in New Issue
Block a user