mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
Too much stuff at once, but who cares
This commit is contained in:
@@ -38,12 +38,12 @@ action:
|
||||
- action: automation.turn_on
|
||||
data:
|
||||
entity_id: automation.garage_open_nobody_home
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.patio_door_contact
|
||||
state: "off"
|
||||
sequence:
|
||||
- action: lock.lock
|
||||
target:
|
||||
entity_id: lock.patio_door
|
||||
# - choose:
|
||||
# - conditions:
|
||||
# - condition: state
|
||||
# entity_id: binary_sensor.patio_door_contact
|
||||
# state: "off"
|
||||
# sequence:
|
||||
# - action: lock.lock
|
||||
# target:
|
||||
# entity_id: lock.patio_door
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
alias: Bridget Awake
|
||||
id: automation_bridget_awake
|
||||
mode: restart
|
||||
#description:
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_boolean.bridget_in_bed
|
||||
to: "off"
|
||||
for: "00:05:00"
|
||||
action:
|
||||
- action: input_boolean.turn_on
|
||||
entity_id: input_boolean.bridget_is_awake
|
||||
|
||||
- action: script.turn_on
|
||||
entity_id: script.bridget_travel_sensor
|
||||
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.girls_room_asleep
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: binary_sensor.nursery_occupied
|
||||
state: "off"
|
||||
sequence:
|
||||
- action: input_boolean.turn_on
|
||||
entity_id:
|
||||
- input_boolean.bridget_in_bed
|
||||
|
||||
- action: input_boolean.turn_on
|
||||
entity_id:
|
||||
- input_boolean.bridget_is_awake
|
||||
@@ -18,7 +18,5 @@ condition:
|
||||
entity_id: binary_sensor.bridget_home
|
||||
state: "on"
|
||||
action:
|
||||
- action: input_boolean.turn_off
|
||||
entity_id: input_boolean.bridget_travelling
|
||||
- action: input_boolean.turn_on
|
||||
entity_id: input_boolean.bridget_home
|
||||
|
||||
@@ -6,6 +6,7 @@ mode: restart
|
||||
trigger:
|
||||
- trigger: homeassistant
|
||||
event: start
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_boolean.bridget_home
|
||||
|
||||
@@ -48,8 +48,6 @@ action:
|
||||
- condition: trigger
|
||||
id: "car_home"
|
||||
sequence:
|
||||
- action: input_boolean.turn_off
|
||||
entity_id: input_boolean.clint_travelling
|
||||
- action: input_boolean.turn_on
|
||||
entity_id: input_boolean.clint_home
|
||||
- action: automation.turn_on
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
initial_state: "off"
|
||||
alias: "clint home after work"
|
||||
id: automation_home_after_work
|
||||
#description:
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: device_tracker.pixel_7
|
||||
to: "home"
|
||||
for:
|
||||
minutes: 10
|
||||
condition:
|
||||
condition: and
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.notify_clint_work
|
||||
state: "on"
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: time
|
||||
after: "15:00:00"
|
||||
weekday:
|
||||
- mon
|
||||
- tue
|
||||
- wed
|
||||
- thu
|
||||
- fri
|
||||
action:
|
||||
- action: homeassistant.turn_off
|
||||
entity_id: automation.clint_home_after_work
|
||||
@@ -32,8 +32,8 @@ trigger:
|
||||
entity_id: sensor.pixel_7_charger_type
|
||||
to: "wireless"
|
||||
- platform: state
|
||||
entity_id: input_boolean.clint_tablet_charging
|
||||
to: "on"
|
||||
entity_id: sensor.dreamsurface_dreamsurface_battery_powerline_status
|
||||
to: "Online"
|
||||
condition:
|
||||
- alias: "An adult is home and not in bed"
|
||||
condition: or
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
alias: Clint Travelling
|
||||
id: automation_clint_travelling
|
||||
initial_state: "on"
|
||||
#description:
|
||||
trigger:
|
||||
- platform: homeassistant
|
||||
event: start
|
||||
- platform: time
|
||||
at: "21:00:00"
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_boolean.clint_home
|
||||
state: "off"
|
||||
action:
|
||||
- action: input_boolean.turn_on
|
||||
entity_id: input_boolean.clint_travelling
|
||||
@@ -21,7 +21,7 @@ action:
|
||||
|
||||
- action: media_player.volume_set
|
||||
data:
|
||||
entity_id: media_player.master_bedroom_clock
|
||||
entity_id: media_player.home_assistant_voice_097b44_media_player
|
||||
volume_level: 0.50
|
||||
|
||||
- choose:
|
||||
|
||||
@@ -19,7 +19,5 @@ condition:
|
||||
entity_id: person.kristy
|
||||
state: "home"
|
||||
action:
|
||||
- action: input_boolean.turn_off
|
||||
entity_id: input_boolean.ebin_travelling
|
||||
- action: input_boolean.turn_on
|
||||
entity_id: input_boolean.ebin_home
|
||||
|
||||
@@ -2,16 +2,16 @@ alias: Emmett Asleep
|
||||
id: automation_emmett_asleep
|
||||
mode: restart
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
triggers:
|
||||
- trigger: state
|
||||
id: in_bed
|
||||
entity_id: input_boolean.emmett_in_bed
|
||||
to: "on"
|
||||
for: "00:20:00"
|
||||
- platform: homeassistant
|
||||
- trigger: homeassistant
|
||||
event: start
|
||||
|
||||
condition:
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id:
|
||||
- input_boolean.emmett_home
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
alias: Emmett Awake
|
||||
id: automation_emmett_awake
|
||||
mode: restart
|
||||
#description:
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_boolean.emmett_in_bed
|
||||
to: "off"
|
||||
for: "00:00:30"
|
||||
|
||||
action:
|
||||
- action: input_boolean.turn_on
|
||||
entity_id: input_boolean.emmett_is_awake
|
||||
|
||||
- action: script.turn_on
|
||||
entity_id: script.emmett_travel_sensor
|
||||
@@ -16,7 +16,5 @@ condition:
|
||||
entity_id: binary_sensor.emmett_home
|
||||
state: "on"
|
||||
action:
|
||||
- action: input_boolean.turn_off
|
||||
entity_id: input_boolean.emmett_travelling
|
||||
- action: input_boolean.turn_on
|
||||
entity_id: input_boolean.emmett_home
|
||||
|
||||
@@ -28,9 +28,6 @@ condition:
|
||||
value_template: "{{ dict((states|selectattr('entity_id', 'in', state_attr('group.person_kristy', 'entity_id'))|list)|groupby('state'))['home']|count }}"
|
||||
|
||||
action:
|
||||
- action: input_boolean.turn_off
|
||||
entity_id: input_boolean.kristy_travelling
|
||||
|
||||
- action: input_boolean.turn_on
|
||||
entity_id: input_boolean.kristy_home
|
||||
|
||||
|
||||
@@ -28,7 +28,5 @@ condition:
|
||||
value_template: "{{ dict((states|selectattr('entity_id', 'in', state_attr('group.person_marshall', 'entity_id'))|list)|groupby('state'))['home']|count }}"
|
||||
|
||||
action:
|
||||
- action: input_boolean.turn_off
|
||||
entity_id: input_boolean.marshall_travelling
|
||||
- action: input_boolean.turn_on
|
||||
entity_id: input_boolean.marshall_home
|
||||
|
||||
@@ -18,7 +18,5 @@ condition:
|
||||
above: 0
|
||||
value_template: "{{ dict((states|selectattr('entity_id', 'in', state_attr('group.person_tess', 'entity_id'))|list)|groupby('state'))['home']|count }}"
|
||||
action:
|
||||
- action: input_boolean.turn_off
|
||||
entity_id: input_boolean.tess_travelling
|
||||
- action: input_boolean.turn_on
|
||||
entity_id: input_boolean.tess_home
|
||||
|
||||
@@ -53,15 +53,15 @@ action:
|
||||
entity_id: input_select.master_bedroom_mode
|
||||
data:
|
||||
option: Nightlight
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.patio_door_contact
|
||||
state: "off"
|
||||
sequence:
|
||||
- action: lock.lock
|
||||
target:
|
||||
entity_id: lock.patio_door
|
||||
# - choose:
|
||||
# - conditions:
|
||||
# - condition: state
|
||||
# entity_id: binary_sensor.patio_door_contact
|
||||
# state: "off"
|
||||
# sequence:
|
||||
# - action: lock.lock
|
||||
# target:
|
||||
# entity_id: lock.patio_door
|
||||
|
||||
default:
|
||||
- action: input_boolean.turn_off
|
||||
|
||||
@@ -21,22 +21,16 @@ condition:
|
||||
state: "on"
|
||||
|
||||
action:
|
||||
- action: media_player.turn_on
|
||||
data_template:
|
||||
entity_id: media_player.master_bedroom_clock
|
||||
- action: media_player.volume_set
|
||||
data_template:
|
||||
volume_level: 0.30
|
||||
entity_id: media_player.master_bedroom_clock
|
||||
entity_id: media_player.home_assistant_voice_097b44_media_player
|
||||
- action: tts.speak
|
||||
target:
|
||||
entity_id: tts.google_translate_en_com
|
||||
data:
|
||||
media_player_entity_id: media_player.master_bedroom_clock
|
||||
media_player_entity_id: media_player.home_assistant_voice_097b44_media_player
|
||||
message: >-
|
||||
The following are open:
|
||||
{{ dict((states|selectattr('entity_id', 'in', state_attr('group.my_exterior_windows', 'entity_id') + state_attr('group.my_exterior_doors', 'entity_id'))|list)|groupby('state'))['on']|map(attribute='name')|list|join(', ') }}
|
||||
- delay: "00:01:00"
|
||||
- action: media_player.turn_off
|
||||
data:
|
||||
entity_id: media_player.master_bedroom_clock
|
||||
|
||||
|
||||
@@ -10,14 +10,6 @@ condition:
|
||||
state: "on"
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: and
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.emmett_in_bed
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: input_boolean.emmett_home
|
||||
state: "on"
|
||||
- condition: and
|
||||
conditions:
|
||||
- condition: state
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
alias: "Vacation"
|
||||
id: automation_vacation
|
||||
initial_state: "on"
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- input_boolean.clint_travelling
|
||||
- input_boolean.emmett_travelling
|
||||
- input_boolean.bridget_travelling
|
||||
to: "on"
|
||||
condition:
|
||||
condition: and
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.clint_travelling
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: input_boolean.emmett_travelling
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: input_boolean.bridget_travelling
|
||||
state: "on"
|
||||
action:
|
||||
- action: input_boolean.turn_on
|
||||
entity_id: input_boolean.vacation_mode
|
||||
@@ -1,25 +0,0 @@
|
||||
alias: "Vacation over"
|
||||
id: automation_vacation_over
|
||||
initial_state: "on"
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- input_boolean.clint_travelling
|
||||
- input_boolean.emmett_travelling
|
||||
- input_boolean.bridget_travelling
|
||||
to: "off"
|
||||
condition:
|
||||
condition: and
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.clint_travelling
|
||||
state: "off"
|
||||
- condition: state
|
||||
entity_id: input_boolean.emmett_travelling
|
||||
state: "off"
|
||||
- condition: state
|
||||
entity_id: input_boolean.bridget_travelling
|
||||
state: "off"
|
||||
action:
|
||||
- action: input_boolean.turn_off
|
||||
entity_id: input_boolean.vacation_mode
|
||||
@@ -3,11 +3,11 @@ id: automation_continue_white_noise
|
||||
initial_state: "on"
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: media_player.master_bedroom_clock
|
||||
entity_id: media_player.home_assistant_voice_097b44_media_player
|
||||
to: "off"
|
||||
for: "00:00:02"
|
||||
- platform: state
|
||||
entity_id: media_player.master_bedroom_clock
|
||||
entity_id: media_player.home_assistant_voice_097b44_media_player
|
||||
to: "idle"
|
||||
for: "00:00:02"
|
||||
condition:
|
||||
|
||||
@@ -10,5 +10,5 @@ action:
|
||||
- action: media_player.turn_off
|
||||
data: {}
|
||||
target:
|
||||
entity_id: media_player.ma_master_bedroom_clock
|
||||
entity_id: media_player.home_assistant_voice_097b44_media_player
|
||||
|
||||
|
||||
@@ -15,22 +15,9 @@ action:
|
||||
data:
|
||||
volume_level: 0.25
|
||||
target:
|
||||
entity_id: media_player.ma_master_bedroom_clock
|
||||
device_id: 8350a88218fdf3807d190142a9e2dc18
|
||||
|
||||
#- action: script.goodnight_kids_youtube_music
|
||||
|
||||
- action: media_player.shuffle_set
|
||||
metadata: {}
|
||||
data:
|
||||
shuffle: false
|
||||
target:
|
||||
entity_id: media_player.ma_master_bedroom_clock
|
||||
- action: media_player.repeat_set
|
||||
metadata: {}
|
||||
data:
|
||||
repeat: "all"
|
||||
target:
|
||||
entity_id: media_player.ma_master_bedroom_clock
|
||||
- action: music_assistant.play_media
|
||||
metadata: {}
|
||||
data:
|
||||
@@ -38,4 +25,18 @@ action:
|
||||
media_type: track
|
||||
enqueue: replace
|
||||
target:
|
||||
entity_id: media_player.ma_master_bedroom_clock
|
||||
device_id: 8350a88218fdf3807d190142a9e2dc18
|
||||
|
||||
# - action: media_player.shuffle_set
|
||||
# metadata: {}
|
||||
# data:
|
||||
# shuffle: false
|
||||
# target:
|
||||
# entity_id: media_player.home_assistant_voice_097b44_media_player
|
||||
# - action: media_player.repeat_set
|
||||
# metadata: {}
|
||||
# data:
|
||||
# repeat: "all"
|
||||
# target:
|
||||
# entity_id: media_player.home_assistant_voice_097b44_media_player
|
||||
|
||||
|
||||
@@ -1,31 +1,30 @@
|
||||
platform: bayesian
|
||||
unique_id: bayesianbinarysensor.boys_room_occupied
|
||||
name: Boys Room Occupied
|
||||
device_class: occupancy
|
||||
prior: 0.25
|
||||
probability_threshold: 0.7
|
||||
probability_threshold: 0.75
|
||||
observations:
|
||||
|
||||
- entity_id: group.boys_room_motion
|
||||
prob_given_true: .99
|
||||
prob_given_false: .85
|
||||
- entity_id: binary_sensor.white_bed_occupied
|
||||
platform: state
|
||||
prob_given_true: .83
|
||||
prob_given_false: 0.0
|
||||
to_state: 'on'
|
||||
|
||||
- entity_id: binary_sensor.boys_room_person_occupancy
|
||||
prob_given_true: .99
|
||||
prob_given_false: .85
|
||||
prob_given_true: .4
|
||||
prob_given_false: 0.0
|
||||
platform: state
|
||||
to_state: 'on'
|
||||
|
||||
- entity_id: input_boolean.home_occupied
|
||||
platform: state
|
||||
prob_given_true: .99
|
||||
prob_given_false: 0.01
|
||||
prob_given_false: 0.67
|
||||
to_state: 'on'
|
||||
|
||||
- platform: state
|
||||
entity_id: binary_sensor.white_bed_occupied
|
||||
to_state: "on"
|
||||
prob_given_true: .67
|
||||
- entity_id: group.boys_room_motion
|
||||
platform: state
|
||||
prob_given_true: .5
|
||||
prob_given_false: 0.0
|
||||
to_state: 'on'
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Adults are away
|
||||
icon: mdi:account-multiple
|
||||
@@ -1 +0,0 @@
|
||||
name: Everybody is away
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Bridget At Work
|
||||
icon: mdi:briefcase
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Bridget Home
|
||||
icon: mdi:human-child
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Bridget In Bed
|
||||
icon: mdi:bed
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Bridget Is Awake
|
||||
icon: mdi:alarm
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Bridget Tablet Home
|
||||
icon: mdi:tablet
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Bridget Travelling
|
||||
icon: mdi:road
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Clint Home
|
||||
icon: mdi:human-male
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Clint Home Alone
|
||||
icon: mdi:human-male
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Clint In Bed
|
||||
icon: mdi:bed
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Clint Is Awake
|
||||
icon: mdi:alarm
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Clint Needs AM Meds
|
||||
icon: mdi:pill
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Clint Needs Meds
|
||||
icon: mdi:pill
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Clint Needs AP Meds
|
||||
icon: mdi:pill
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Clint Tablet Charging
|
||||
icon: mdi:battery-charging
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Clint Tablet Home
|
||||
icon: mdi:tablet
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Clint Travelling
|
||||
icon: mdi:airplane
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Clint Work From Home
|
||||
icon: mdi:vpn
|
||||
@@ -1 +0,0 @@
|
||||
name: Notify Clint Work
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Ebin At Work
|
||||
icon: mdi:briefcase
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Ebin Home
|
||||
icon: mdi:human-child
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Ebin In Bed
|
||||
icon: mdi:bed
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Ebin Is Awake
|
||||
icon: mdi:alarm
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Ebin Travelling
|
||||
icon: mdi:road
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Emmett At Work
|
||||
icon: mdi:briefcase
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Emmett Home
|
||||
icon: mdi:human-child
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Emmett In Bed
|
||||
icon: mdi:bed
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Emmett Is Awake
|
||||
icon: mdi:alarm
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Emmett Tablet Home
|
||||
icon: mdi:tablet
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Emmett Travelling
|
||||
icon: mdi:road
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Guest at work
|
||||
icon: mdi:briefcase
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Guest home
|
||||
icon: mdi:human-male
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Guest in bed
|
||||
icon: mdi:bed
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Guest is awake
|
||||
icon: mdi:alarm
|
||||
@@ -1 +0,0 @@
|
||||
name: Kids are away
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Chickadee is Waiting
|
||||
icon: mdi:alarm
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Kristy At Work
|
||||
icon: mdi:briefcase
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Kristy Home
|
||||
icon: mdi:human-female
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Kristy In Bed
|
||||
icon: mdi:bed
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Kristy Is Awake
|
||||
icon: mdi:alarm
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Kristy Travelling
|
||||
icon: mdi:road
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Marshall At Work
|
||||
icon: mdi:briefcase
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Marshall Home
|
||||
icon: mdi:human-male
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Marshall In Bed
|
||||
icon: mdi:bed
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Marshall Is Awake
|
||||
icon: mdi:alarm
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Marshall Travelling
|
||||
icon: mdi:road
|
||||
@@ -1 +0,0 @@
|
||||
name: Teens are away
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Tess At Work
|
||||
icon: mdi:briefcase
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Tess Home
|
||||
icon: mdi:human-female
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Tess In Bed
|
||||
icon: mdi:bed
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Tess Is Awake
|
||||
icon: mdi:alarm
|
||||
@@ -1,2 +0,0 @@
|
||||
name: Tess Travelling
|
||||
icon: mdi:road
|
||||
@@ -6,5 +6,6 @@ options:
|
||||
- 'Read'
|
||||
- 'Relax'
|
||||
- 'Dimmed'
|
||||
- 'Rest'
|
||||
- 'Nightlight'
|
||||
- 'Natural light'
|
||||
@@ -29,8 +29,9 @@ group:
|
||||
- media_player.kitchen
|
||||
- media_player.front_room_hub
|
||||
- media_player.girls_room_hub
|
||||
- media_player.boys_room_clock
|
||||
- media_player.bathroom_mini
|
||||
- media_player.master_bedroom_clock
|
||||
- media_player.home_assistant_voice_097b44_media_player
|
||||
- media_player.computer_area_hub
|
||||
|
||||
###### INPUT SELECT ------------------------------------------
|
||||
@@ -67,7 +68,8 @@ input_select:
|
||||
- Front Room
|
||||
- Master Bedroom
|
||||
- Kitchen
|
||||
- Nursery
|
||||
- Girls Room
|
||||
- Boys Room
|
||||
- Computer Area
|
||||
- Downstairs
|
||||
- Master Bathroom
|
||||
@@ -96,10 +98,11 @@ script:
|
||||
data_template:
|
||||
entity_id: >
|
||||
{% if is_state("input_select.google_home", "Front Room") %} media_player.front_room_hub
|
||||
{% elif is_state("input_select.google_home", "Master Bedroom") %} media_player.master_bedroom_clock
|
||||
{% elif is_state("input_select.google_home", "Master Bedroom") %} media_player.home_assistant_voice_097b44_media_player
|
||||
{% elif is_state("input_select.google_home", "Master Bathroom") %} media_player.great_room
|
||||
{% elif is_state("input_select.google_home", "Kitchen") %} media_player.kitchen
|
||||
{% elif is_state("input_select.google_home", "Nursery") %} media_player.girls_room_hub
|
||||
{% elif is_state("input_select.google_home", "Girls Room") %} media_player.girls_room_hub
|
||||
{% elif is_state("input_select.google_home", "Boys Room") %} media_player.boys_room_clock
|
||||
{% elif is_state("input_select.google_home", "Computer Area") %} media_player.computer_area_hub
|
||||
{% elif is_state("input_select.google_home", "Downstairs") %} media_player.downstairs_public
|
||||
{% elif is_state("input_select.google_home", "Everywhere") %} media_player.all_speakers
|
||||
@@ -110,10 +113,11 @@ script:
|
||||
data_template:
|
||||
entity_id: >
|
||||
{% if is_state("input_select.google_home", "Front Room") %} media_player.front_room_hub
|
||||
{% elif is_state("input_select.google_home", "Master Bedroom") %} media_player.master_bedroom_clock
|
||||
{% elif is_state("input_select.google_home", "Master Bedroom") %} media_player.home_assistant_voice_097b44_media_player
|
||||
{% elif is_state("input_select.google_home", "Master Bathroom") %} media_player.great_room
|
||||
{% elif is_state("input_select.google_home", "Kitchen") %} media_player.kitchen
|
||||
{% elif is_state("input_select.google_home", "Nursery") %} media_player.girls_room_hub
|
||||
{% elif is_state("input_select.google_home", "Girls Room") %} media_player.girls_room_hub
|
||||
{% elif is_state("input_select.google_home", "Boys Room") %} media_player.boys_room_clock
|
||||
{% elif is_state("input_select.google_home", "Computer Area") %} media_player.computer_area_hub
|
||||
{% elif is_state("input_select.google_home", "Downstairs") %} media_player.downstairs_public
|
||||
{% elif is_state("input_select.google_home", "Everywhere") %} media_player.all_speakers
|
||||
@@ -158,10 +162,11 @@ script:
|
||||
data_template:
|
||||
entity_id: >
|
||||
{% if is_state("input_select.google_home", "Front Room") %} media_player.front_room_hub
|
||||
{% elif is_state("input_select.google_home", "Master Bedroom") %} media_player.master_bedroom_clock
|
||||
{% elif is_state("input_select.google_home", "Master Bedroom") %} media_player.home_assistant_voice_097b44_media_player
|
||||
{% elif is_state("input_select.google_home", "Master Bathroom") %} media_player.great_room
|
||||
{% elif is_state("input_select.google_home", "Kitchen") %} media_player.kitchen
|
||||
{% elif is_state("input_select.google_home", "Nursery") %} media_player.girls_room_hub
|
||||
{% elif is_state("input_select.google_home", "Girls Room") %} media_player.girls_room_hub
|
||||
{% elif is_state("input_select.google_home", "Boys Room") %} media_player.boys_room_clock
|
||||
{% elif is_state("input_select.google_home", "Computer Area") %} media_player.computer_area_hub
|
||||
{% elif is_state("input_select.google_home", "Downstairs") %} media_player.downstairs_public
|
||||
{% elif is_state("input_select.google_home", "Everywhere") %} media_player.all_speakers
|
||||
@@ -183,10 +188,11 @@ automation:
|
||||
data_template:
|
||||
entity_id: >
|
||||
{% if is_state("input_select.google_home", "Front Room") %} media_player.front_room_hub
|
||||
{% elif is_state("input_select.google_home", "Master Bedroom") %} media_player.master_bedroom_clock
|
||||
{% elif is_state("input_select.google_home", "Master Bedroom") %} media_player.home_assistant_voice_097b44_media_player
|
||||
{% elif is_state("input_select.google_home", "Master Bathroom") %} media_player.great_room
|
||||
{% elif is_state("input_select.google_home", "Kitchen") %} media_player.kitchen
|
||||
{% elif is_state("input_select.google_home", "Nursery") %} media_player.girls_room_hub
|
||||
{% elif is_state("input_select.google_home", "Girls Room") %} media_player.girls_room_hub
|
||||
{% elif is_state("input_select.google_home", "Boys Room") %} media_player.boys_room_clock
|
||||
{% elif is_state("input_select.google_home", "Computer Area") %} media_player.computer_area_hub
|
||||
{% elif is_state("input_select.google_home", "Downstairs") %} media_player.downstairs_public
|
||||
{% elif is_state("input_select.google_home", "Everywhere") %} media_player.all_speakers
|
||||
|
||||
@@ -31,12 +31,12 @@ google_assistant:
|
||||
expose: true
|
||||
room: Garage
|
||||
|
||||
lock.patio_door:
|
||||
name: Patio Door
|
||||
expose: true
|
||||
room: Dining Room
|
||||
aliases:
|
||||
- Sliding Glass Door
|
||||
# lock.patio_door:
|
||||
# name: Patio Door
|
||||
# expose: true
|
||||
# room: Dining Room
|
||||
# aliases:
|
||||
# - Sliding Glass Door
|
||||
|
||||
camera.frigate_cam03:
|
||||
name: Desk Camera
|
||||
@@ -95,42 +95,42 @@ google_assistant:
|
||||
input_boolean.announce_almost_bedtime:
|
||||
name: Announce Almost Bedtime
|
||||
expose: true
|
||||
room: Nursery
|
||||
room: Girls Room
|
||||
|
||||
input_boolean.announce_goodnight_emmett:
|
||||
name: Announce Goodnight Emmett
|
||||
expose: true
|
||||
room: Nursery
|
||||
room: Boys Room
|
||||
|
||||
input_boolean.announce_goodnight_bridget:
|
||||
name: Announce Goodnight Bridget
|
||||
expose: true
|
||||
room: Nursery
|
||||
room: Girls Room
|
||||
|
||||
input_boolean.announce_goodnight_ebin:
|
||||
name: Announce Goodnight Ebin
|
||||
expose: true
|
||||
room: Nursery
|
||||
room: Girls Room
|
||||
|
||||
input_boolean.announce_goodnight_emmett_bridget:
|
||||
name: Announce Goodnight Emmett Bridget
|
||||
expose: true
|
||||
room: Nursery
|
||||
room: Girls Room
|
||||
|
||||
input_boolean.announce_goodnight_emmett_ebin:
|
||||
name: Announce Goodnight Emmett Ebin
|
||||
expose: true
|
||||
room: Nursery
|
||||
room: Boys Room
|
||||
|
||||
input_boolean.announce_goodnight_bridget_ebin:
|
||||
name: Announce Goodnight Bridget Ebin
|
||||
expose: true
|
||||
room: Nursery
|
||||
room: Girls Room
|
||||
|
||||
input_boolean.announce_goodnight_emmett_bridget_ebin:
|
||||
name: Announce Goodnight Emmett Bridget Ebin
|
||||
expose: true
|
||||
room: Nursery
|
||||
room: Girls Room
|
||||
|
||||
input_boolean.kids_bedtime:
|
||||
name: Kids Bedtime
|
||||
@@ -139,7 +139,7 @@ google_assistant:
|
||||
- Emmetts bedtime
|
||||
- Bridgets bedtime
|
||||
- Ebins bedtime
|
||||
room: Nursery
|
||||
room: Girls Room
|
||||
|
||||
input_boolean.clint_in_bed:
|
||||
name: Clint In Bed
|
||||
@@ -164,17 +164,17 @@ google_assistant:
|
||||
input_boolean.emmett_in_bed:
|
||||
name: Emmett In Bed
|
||||
expose: true
|
||||
room: Nursery
|
||||
room: Boys Room
|
||||
|
||||
input_boolean.bridget_in_bed:
|
||||
name: Bridget In Bed
|
||||
expose: true
|
||||
room: Nursery
|
||||
room: Girls Room
|
||||
|
||||
input_boolean.ebin_in_bed:
|
||||
name: Ebin In Bed
|
||||
expose: true
|
||||
room: Nursery
|
||||
room: Girls Room
|
||||
|
||||
input_boolean.front_room_occupied:
|
||||
name: Front Room Lights
|
||||
|
||||
@@ -1,20 +1,13 @@
|
||||
lock:
|
||||
- platform: template
|
||||
unique_id: templatelock.patio_door
|
||||
name: Patio Door
|
||||
# lock:
|
||||
# - platform: template
|
||||
# unique_id: templatelock.patio_door
|
||||
# name: Patio Door
|
||||
# value_template: "{{ is_state('switch.shelly_sliding_glass_door', 'on') }}"
|
||||
value_template: "{{ is_state('light.deck', 'on') }}"
|
||||
lock:
|
||||
# lock:
|
||||
# action: switch.turn_on
|
||||
# target:
|
||||
# entity_id: switch.shelly_sliding_glass_door
|
||||
action: light.turn_on
|
||||
target:
|
||||
entity_id: light.deck
|
||||
unlock:
|
||||
# unlock:
|
||||
# action: switch.turn_off
|
||||
# target:
|
||||
# entity_id: switch.shelly_sliding_glass_door
|
||||
action: light.turn_off
|
||||
target:
|
||||
entity_id: light.deck
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
substitutions:
|
||||
name: home-assistant-voice-097b44
|
||||
friendly_name: Home Assistant Voice 097b44
|
||||
packages:
|
||||
Nabu Casa.Home Assistant Voice PE: github://esphome/home-assistant-voice-pe/home-assistant-voice.yaml
|
||||
esphome:
|
||||
name: ${name}
|
||||
name_add_mac_suffix: false
|
||||
friendly_name: ${friendly_name}
|
||||
api:
|
||||
encryption:
|
||||
key: iAx9Roq7zrUefNVRfIGGd+5u7QXMYdCMoCPXfIIACpk=
|
||||
|
||||
|
||||
wifi:
|
||||
ssid: !secret wifi_ssid
|
||||
password: !secret wifi_password
|
||||
+125
-70
@@ -32,8 +32,12 @@ substitutions:
|
||||
sda_pin: GPIO21
|
||||
scl_pin: GPIO22
|
||||
|
||||
# For i2c devices
|
||||
sda2_pin: GPIO16
|
||||
scl2_pin: GPIO17
|
||||
|
||||
passive_buzzer_pin: GPIO26
|
||||
one_wire_pin: GPIO17
|
||||
one_wire_pin: GPIO13
|
||||
|
||||
packages:
|
||||
# network: !include common/ethernet.yaml
|
||||
@@ -54,7 +58,7 @@ esp32:
|
||||
|
||||
# Enable logging
|
||||
logger:
|
||||
level: VERBOSE
|
||||
#level: VERBOSE
|
||||
|
||||
time:
|
||||
- id: !remove homeassistant_time
|
||||
@@ -154,18 +158,23 @@ font:
|
||||
# size: 50
|
||||
# glyphs: ["\U0000e425"] # mdi-timer
|
||||
|
||||
one_wire:
|
||||
- platform: gpio
|
||||
pin:
|
||||
number: ${one_wire_pin}
|
||||
mode:
|
||||
input: true
|
||||
pullup: true
|
||||
# one_wire:
|
||||
# - platform: gpio
|
||||
# pin:
|
||||
# number: ${one_wire_pin}
|
||||
# mode:
|
||||
# input: true
|
||||
# pullup: true
|
||||
|
||||
i2c:
|
||||
- id: bus_a
|
||||
sda: ${sda_pin}
|
||||
scl: ${scl_pin}
|
||||
frequency: 800kHz
|
||||
#frequency: 800kHz
|
||||
|
||||
- id: bus_b
|
||||
sda: ${sda2_pin}
|
||||
scl: ${scl2_pin}
|
||||
|
||||
spi:
|
||||
clk_pin: ${spi_clock_pin}
|
||||
@@ -243,70 +252,114 @@ number:
|
||||
# id: display_backlight
|
||||
|
||||
sensor:
|
||||
- platform: dallas_temp
|
||||
address: 0xB33C01B607798528
|
||||
name: "Return"
|
||||
id: hvac_return
|
||||
icon: mdi:home-thermometer-outline
|
||||
- platform: bme280_i2c
|
||||
i2c_id: bus_a
|
||||
address: 0x76
|
||||
update_interval: 10s
|
||||
filters:
|
||||
- lambda: |-
|
||||
float val = x;
|
||||
if (isnan(val)) {
|
||||
val = 0.0;
|
||||
}
|
||||
return val * (9.0/5.0) + 32.0;
|
||||
temperature:
|
||||
name: "BME280 76A Temperature"
|
||||
pressure:
|
||||
name: "BME280 76A Pressure"
|
||||
humidity:
|
||||
name: "BME280 76A Humidity"
|
||||
|
||||
- platform: bme280_i2c
|
||||
i2c_id: bus_b
|
||||
address: 0x76
|
||||
update_interval: 10s
|
||||
temperature:
|
||||
name: "BME280 76B Temperature"
|
||||
pressure:
|
||||
name: "BME280 76B Pressure"
|
||||
humidity:
|
||||
name: "BME280 76B Humidity"
|
||||
|
||||
- platform: bme280_i2c
|
||||
i2c_id: bus_a
|
||||
address: 0x77
|
||||
update_interval: 10s
|
||||
temperature:
|
||||
name: "BME280 77A Temperature"
|
||||
pressure:
|
||||
name: "BME280 77A Pressure"
|
||||
humidity:
|
||||
name: "BME280 77A Humidity"
|
||||
|
||||
- platform: bme280_i2c
|
||||
i2c_id: bus_b
|
||||
address: 0x77
|
||||
update_interval: 10s
|
||||
temperature:
|
||||
name: "BME280 77B Temperature"
|
||||
pressure:
|
||||
name: "BME280 77B Pressure"
|
||||
humidity:
|
||||
name: "BME280 77B Humidity"
|
||||
|
||||
# - platform: dallas_temp
|
||||
# address: 0xB33C01B607798528
|
||||
# name: "Return"
|
||||
# id: hvac_return
|
||||
# icon: mdi:home-thermometer-outline
|
||||
# update_interval: 10s
|
||||
# filters:
|
||||
# - lambda: |-
|
||||
# float val = x;
|
||||
# if (isnan(val)) {
|
||||
# val = 0.0;
|
||||
# }
|
||||
# return val * (9.0/5.0) + 32.0;
|
||||
# #- lambda: return x * (9.0/5.0) + 32.0;
|
||||
# - clamp:
|
||||
# min_value: 0.0
|
||||
# max_value: 100.0
|
||||
# unit_of_measurement: "°F"
|
||||
# state_class: measurement
|
||||
|
||||
# - platform: dallas_temp
|
||||
# address: 0x0F3C01B6070C1328
|
||||
# name: "Supply"
|
||||
# id: hvac_supply
|
||||
# icon: mdi:thermostat
|
||||
# update_interval: 10s
|
||||
# filters:
|
||||
# - lambda: return x * (9.0/5.0) + 32.0;
|
||||
- clamp:
|
||||
min_value: 0.0
|
||||
max_value: 100.0
|
||||
unit_of_measurement: "°F"
|
||||
state_class: measurement
|
||||
# - clamp:
|
||||
# min_value: 0.0
|
||||
# max_value: 100.0
|
||||
# unit_of_measurement: "°F"
|
||||
# state_class: measurement
|
||||
|
||||
- platform: dallas_temp
|
||||
address: 0x0F3C01B6070C1328
|
||||
name: "Supply"
|
||||
id: hvac_supply
|
||||
icon: mdi:thermostat
|
||||
update_interval: 10s
|
||||
filters:
|
||||
- lambda: return x * (9.0/5.0) + 32.0;
|
||||
- clamp:
|
||||
min_value: 0.0
|
||||
max_value: 100.0
|
||||
unit_of_measurement: "°F"
|
||||
state_class: measurement
|
||||
# - platform: dallas_temp
|
||||
# address: 0xFA3C01B607005B28
|
||||
# name: "Ambient"
|
||||
# id: ambient
|
||||
# icon: mdi:home-thermometer
|
||||
# update_interval: 10s
|
||||
# filters:
|
||||
# - lambda: return x * (9.0/5.0) + 32.0;
|
||||
# - clamp:
|
||||
# min_value: 0.0
|
||||
# max_value: 100.0
|
||||
# unit_of_measurement: "°F"
|
||||
# state_class: measurement
|
||||
|
||||
- platform: dallas_temp
|
||||
address: 0xFA3C01B607005B28
|
||||
name: "Ambient"
|
||||
id: ambient
|
||||
icon: mdi:home-thermometer
|
||||
update_interval: 10s
|
||||
filters:
|
||||
- lambda: return x * (9.0/5.0) + 32.0;
|
||||
- clamp:
|
||||
min_value: 0.0
|
||||
max_value: 100.0
|
||||
unit_of_measurement: "°F"
|
||||
state_class: measurement
|
||||
|
||||
- platform: template
|
||||
name: "Delta"
|
||||
id: hvac_delta
|
||||
icon: mdi:thermometer-lines
|
||||
lambda: |-
|
||||
return (id(hvac_supply).state - id(hvac_return).state);
|
||||
update_interval: 10s
|
||||
unit_of_measurement: "°F"
|
||||
state_class: measurement
|
||||
filters:
|
||||
- clamp:
|
||||
min_value: 0.0
|
||||
max_value: 100.0
|
||||
- or:
|
||||
- throttle: 60s
|
||||
- delta: 1.0
|
||||
# - platform: template
|
||||
# name: "Delta"
|
||||
# id: hvac_delta
|
||||
# icon: mdi:thermometer-lines
|
||||
# lambda: |-
|
||||
# return (id(hvac_supply).state - id(hvac_return).state);
|
||||
# update_interval: 10s
|
||||
# unit_of_measurement: "°F"
|
||||
# state_class: measurement
|
||||
# filters:
|
||||
# - clamp:
|
||||
# min_value: 0.0
|
||||
# max_value: 100.0
|
||||
# - or:
|
||||
# - throttle: 60s
|
||||
# - delta: 1.0
|
||||
|
||||
display:
|
||||
- platform: ili9xxx
|
||||
@@ -330,7 +383,9 @@ display:
|
||||
|
||||
touchscreen:
|
||||
# - platform: ft5x06
|
||||
# Uses i2c
|
||||
- platform: ft63x6
|
||||
i2c_id: bus_a
|
||||
id: main_touchscreen
|
||||
display: main_display
|
||||
transform:
|
||||
|
||||
@@ -50,6 +50,7 @@ boys_room_motion:
|
||||
entities:
|
||||
- binary_sensor.boys_room_motion_switch_motion_detection
|
||||
- binary_sensor.boys_room_multisensor_motion_detection
|
||||
- binary_sensor.everything_presence_lite_8fa4fc_occupancy
|
||||
|
||||
front_room_motion:
|
||||
name: Front Room Motion
|
||||
|
||||
@@ -102,10 +102,10 @@ card:
|
||||
top: 70%
|
||||
left: 41%
|
||||
|
||||
- type: state-icon
|
||||
entity: switch.shelly_sliding_glass_door
|
||||
style:
|
||||
top: 3%
|
||||
left: 55%
|
||||
tap_action:
|
||||
action: toggle
|
||||
# - type: state-icon
|
||||
# entity: switch.shelly_sliding_glass_door
|
||||
# style:
|
||||
# top: 3%
|
||||
# left: 55%
|
||||
# tap_action:
|
||||
# action: toggle
|
||||
|
||||
@@ -97,11 +97,11 @@ card:
|
||||
top: 29%
|
||||
left: 4%
|
||||
|
||||
- type: state-icon
|
||||
entity: switch.shelly_sliding_glass_door
|
||||
style:
|
||||
top: 34%
|
||||
left: 4%
|
||||
# - type: state-icon
|
||||
# entity: switch.shelly_sliding_glass_door
|
||||
# style:
|
||||
# top: 34%
|
||||
# left: 4%
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
|
||||
@@ -14,7 +14,7 @@ card:
|
||||
status_bar:
|
||||
style: none
|
||||
cameras:
|
||||
- camera_entity: camera.frigate_cam14
|
||||
- camera_entity: camera.frigate_cam12
|
||||
live_provider: go2rtc
|
||||
go2rtc:
|
||||
modes:
|
||||
@@ -54,7 +54,7 @@ card:
|
||||
height: 10%
|
||||
opacity: 70%
|
||||
- type: image
|
||||
entity: camera.frigate_cam14
|
||||
entity: camera.frigate_cam12
|
||||
image: /local/title-dark-double.png
|
||||
aspect_ratio: 100%
|
||||
tap_action:
|
||||
|
||||
@@ -31,19 +31,20 @@ cards:
|
||||
cards:
|
||||
- type: custom:mushroom-light-card
|
||||
entity: light.boys_room_hue
|
||||
name: Main
|
||||
icon: mdi:dome-light
|
||||
name: Main Light
|
||||
tap_action:
|
||||
action: toggle
|
||||
hide_state: true
|
||||
use_light_color: false
|
||||
show_brightness_control: false
|
||||
layout: vertical
|
||||
hide_state: false
|
||||
- type: custom:mushroom-light-card
|
||||
entity: light.boys_room_closet
|
||||
name: Closet
|
||||
icon: ""
|
||||
tap_action:
|
||||
action: toggle
|
||||
hide_state: true
|
||||
hide_state: false
|
||||
layout: vertical
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
@@ -59,7 +60,6 @@ cards:
|
||||
entity: binary_sensor.boys_room_naturally_lit
|
||||
name: Naturally Lit
|
||||
layout: vertical
|
||||
secondary_info: none
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: custom:mushroom-title-card
|
||||
@@ -73,6 +73,31 @@ cards:
|
||||
cards:
|
||||
- type: custom:mushroom-title-card
|
||||
subtitle: Sensors
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-template-card
|
||||
entity: binary_sensor.white_bed_occupied
|
||||
icon: mdi:bed
|
||||
icon_color: >-
|
||||
{% if(is_state('binary_sensor.white_bed_occupied','on')) %}
|
||||
yellow
|
||||
{% endif %}
|
||||
primary: White Bed
|
||||
layout: vertical
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-entity-card
|
||||
layout: vertical
|
||||
entity: sensor.bed_presence_2d14a4_calibrated_right_pressure
|
||||
name: Calibrated Pressure
|
||||
- type: custom:mushroom-entity-card
|
||||
entity: number.bed_presence_2d14a4_right_trigger_pressure
|
||||
layout: vertical
|
||||
name: Trigger
|
||||
- type: custom:mushroom-entity-card
|
||||
entity: sensor.bed_presence_2d14a4_right_pressure
|
||||
name: Pressure
|
||||
layout: vertical
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-entity-card
|
||||
|
||||
@@ -151,6 +151,16 @@ cards:
|
||||
{% endif %}
|
||||
tap_action:
|
||||
action: more-info
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-entity-card
|
||||
layout: vertical
|
||||
entity: binary_sensor.nursery_occupied
|
||||
name: Nursery Occupied
|
||||
- type: custom:mushroom-entity-card
|
||||
layout: vertical
|
||||
entity: binary_sensor.girls_room_occupied
|
||||
name: Girls Room
|
||||
|
||||
# Lights
|
||||
- type: vertical-stack
|
||||
@@ -167,7 +177,7 @@ cards:
|
||||
use_light_color: false
|
||||
show_brightness_control: false
|
||||
layout: vertical
|
||||
hide_state: true
|
||||
hide_state: false
|
||||
- type: custom:mushroom-entity-card
|
||||
entity: input_select.nursery_mode
|
||||
name: Mode
|
||||
@@ -175,7 +185,7 @@ cards:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-template-card
|
||||
primary: Emmett
|
||||
primary: Window Side
|
||||
secondary: "{{states('select.black_bed_wled_preset')}}"
|
||||
entity: select.black_bed_wled_preset
|
||||
icon: mdi:led-strip-variant
|
||||
@@ -193,7 +203,7 @@ cards:
|
||||
url_path: http://192.168.1.181
|
||||
layout: vertical
|
||||
- type: custom:mushroom-template-card
|
||||
primary: Bridget
|
||||
primary: Hall Side
|
||||
secondary: "{{states('select.white_bed_wled_preset')}}"
|
||||
entity: select.white_bed_wled_preset
|
||||
icon: mdi:led-strip-variant
|
||||
@@ -242,7 +252,6 @@ cards:
|
||||
entity: binary_sensor.nursery_naturally_lit
|
||||
name: Naturally Lit
|
||||
layout: vertical
|
||||
secondary_info: none
|
||||
|
||||
# Devices
|
||||
- type: vertical-stack
|
||||
@@ -330,15 +339,6 @@ cards:
|
||||
target:
|
||||
entity_id: button.black_bed_manual_tare
|
||||
layout: vertical
|
||||
- type: custom:mushroom-template-card
|
||||
entity: binary_sensor.white_bed_occupied
|
||||
icon: mdi:bed
|
||||
icon_color: >-
|
||||
{% if(is_state('binary_sensor.white_bed_occupied','on')) %}
|
||||
yellow
|
||||
{% endif %}
|
||||
primary: White Bed
|
||||
layout: vertical
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-entity-card
|
||||
|
||||
@@ -354,7 +354,7 @@ cards:
|
||||
secondary: |-
|
||||
{{states('sensor.master_bathroom_thermostat_temperature')}}°F
|
||||
{{states('sensor.master_bathroom_thermostat_humidity')}}%
|
||||
icon_color: "{{iif(is_state('light.master_bathroom','on'),'yellow')}}"
|
||||
icon_color: "{{iif(is_state('light.master_bathroom_hue','on'),'yellow')}}"
|
||||
multiline_secondary: true
|
||||
layout: vertical
|
||||
- type: custom:mushroom-template-card
|
||||
|
||||
@@ -19,7 +19,7 @@ elements:
|
||||
action: more-info
|
||||
style:
|
||||
font-style: italic
|
||||
left: 62%
|
||||
left: 38%
|
||||
top: 88%
|
||||
|
||||
- type: custom:mushroom-template-card
|
||||
|
||||
@@ -69,13 +69,13 @@ elements:
|
||||
# left: 68%
|
||||
# top: 9%
|
||||
#top icon spot #3
|
||||
- type: state-icon
|
||||
entity: switch.shelly_sliding_glass_door
|
||||
style:
|
||||
left: 76%
|
||||
top: 9%
|
||||
tap_action:
|
||||
action: toggle
|
||||
# - type: state-icon
|
||||
# entity: switch.shelly_sliding_glass_door
|
||||
# style:
|
||||
# left: 76%
|
||||
# top: 9%
|
||||
# tap_action:
|
||||
# action: toggle
|
||||
#top icon spot #3
|
||||
- type: state-icon
|
||||
entity: binary_sensor.patio_door_contact
|
||||
|
||||
@@ -23,4 +23,3 @@ cards:
|
||||
- entity: input_boolean.kristy_home
|
||||
- entity: input_boolean.kristy_in_bed
|
||||
- entity: input_boolean.kristy_is_awake
|
||||
- entity: input_boolean.kristy_travelling
|
||||
|
||||
@@ -23,7 +23,6 @@ cards:
|
||||
- entity: input_boolean.marshall_home
|
||||
- entity: input_boolean.marshall_in_bed
|
||||
- entity: input_boolean.marshall_is_awake
|
||||
- entity: input_boolean.marshall_travelling
|
||||
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
@@ -39,8 +38,7 @@ cards:
|
||||
secondary_info: last-triggered
|
||||
- entity: automation.tess_home
|
||||
secondary_info: last-triggered
|
||||
- entity: input_boolean.tess_at_work
|
||||
- entity: input_boolean.tess_at_school
|
||||
- entity: input_boolean.tess_home
|
||||
- entity: input_boolean.tess_in_bed
|
||||
- entity: input_boolean.tess_is_awake
|
||||
- entity: input_boolean.tess_travelling
|
||||
|
||||
@@ -29,11 +29,10 @@ cards:
|
||||
secondary_info: last-triggered
|
||||
- entity: automation.emmett_home
|
||||
secondary_info: last-triggered
|
||||
- entity: input_boolean.emmett_at_work
|
||||
- entity: input_boolean.emmett_at_school
|
||||
- entity: input_boolean.emmett_home
|
||||
- entity: input_boolean.emmett_in_bed
|
||||
- entity: input_boolean.emmett_is_awake
|
||||
- entity: input_boolean.emmett_travelling
|
||||
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
@@ -49,11 +48,10 @@ cards:
|
||||
secondary_info: last-triggered
|
||||
- entity: automation.bridget_home
|
||||
secondary_info: last-triggered
|
||||
- entity: input_boolean.bridget_at_work
|
||||
- entity: input_boolean.bridget_at_school
|
||||
- entity: input_boolean.bridget_home
|
||||
- entity: input_boolean.bridget_in_bed
|
||||
- entity: input_boolean.bridget_is_awake
|
||||
- entity: input_boolean.bridget_travelling
|
||||
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
@@ -69,8 +67,7 @@ cards:
|
||||
secondary_info: last-triggered
|
||||
- entity: automation.ebin_home
|
||||
secondary_info: last-triggered
|
||||
- entity: input_boolean.ebin_at_work
|
||||
- entity: input_boolean.ebin_at_school
|
||||
- entity: input_boolean.ebin_home
|
||||
- entity: input_boolean.ebin_in_bed
|
||||
- entity: input_boolean.ebin_is_awake
|
||||
- entity: input_boolean.ebin_travelling
|
||||
|
||||
@@ -72,10 +72,6 @@ cards:
|
||||
entities:
|
||||
- entity: device_tracker.emmett_s_fire_wifi
|
||||
name: Wifi
|
||||
- entity: input_boolean.emmett_tablet_home
|
||||
name: Home
|
||||
tap_action:
|
||||
action: toggle
|
||||
- type: calendar
|
||||
entities:
|
||||
- calendar.emmett
|
||||
@@ -108,10 +104,6 @@ cards:
|
||||
entities:
|
||||
- entity: device_tracker.bridget_s_fire_wifi
|
||||
name: Wifi
|
||||
- entity: input_boolean.bridget_tablet_home
|
||||
name: Home
|
||||
tap_action:
|
||||
action: toggle
|
||||
- type: calendar
|
||||
entities:
|
||||
- calendar.bridget
|
||||
|
||||
@@ -13,7 +13,7 @@ sequence:
|
||||
|
||||
- action: media_player.volume_set
|
||||
target:
|
||||
entity_id: media_player.master_bedroom_clock
|
||||
entity_id: media_player.home_assistant_voice_097b44_media_player
|
||||
data:
|
||||
volume_level: "{{iif(volume>1,1,volume)}}"
|
||||
|
||||
@@ -22,7 +22,7 @@ sequence:
|
||||
media_content_id: media-source://media_source/alarms/Alarm_Clock.mp3
|
||||
media_content_type: music
|
||||
target:
|
||||
entity_id: media_player.master_bedroom_clock
|
||||
entity_id: media_player.home_assistant_voice_097b44_media_player
|
||||
|
||||
- delay:
|
||||
hours: 0
|
||||
@@ -34,8 +34,8 @@ sequence:
|
||||
target:
|
||||
entity_id: tts.google_translate_en_com
|
||||
data:
|
||||
media_player_entity_id: media_player.master_bedroom_clock
|
||||
message: "It is time to wake up, so get your booty out of bed"
|
||||
media_player_entity_id: media_player.home_assistant_voice_097b44_media_player
|
||||
message: "It is time to wake up, so get out of bed and get ready for work"
|
||||
|
||||
# - action: tts.speak
|
||||
# target:
|
||||
|
||||
Reference in New Issue
Block a user