mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
More and more small fixes
This commit is contained in:
@@ -6,8 +6,6 @@ trigger:
|
||||
entity_id: device_tracker.pixel_7
|
||||
to: "WMU"
|
||||
action:
|
||||
- action: automation.turn_on
|
||||
entity_id: automation.clint_home_after_work
|
||||
- action: input_text.set_value
|
||||
data:
|
||||
entity_id: input_text.person_clint
|
||||
|
||||
@@ -1,42 +1,42 @@
|
||||
alias: Set Clint Next Alarm
|
||||
id: automation_set_clint_next_alarm
|
||||
#description:
|
||||
# alias: Set Clint Next Alarm
|
||||
# id: automation_set_clint_next_alarm
|
||||
# #description:
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.is_workday
|
||||
to: "off"
|
||||
# trigger:
|
||||
# - platform: state
|
||||
# entity_id: binary_sensor.is_workday
|
||||
# to: "off"
|
||||
|
||||
- platform: state
|
||||
entity_id: binary_sensor.is_workday
|
||||
to: "on"
|
||||
# - platform: state
|
||||
# entity_id: binary_sensor.is_workday
|
||||
# to: "on"
|
||||
|
||||
- platform: time
|
||||
at: "01:00:00"
|
||||
# - platform: time
|
||||
# at: "01:00:00"
|
||||
|
||||
- platform: homeassistant
|
||||
event: start
|
||||
# - platform: homeassistant
|
||||
# event: start
|
||||
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.is_workday
|
||||
state: "off"
|
||||
sequence:
|
||||
- action: input_datetime.set_datetime
|
||||
target:
|
||||
entity_id: input_datetime.clint_next_alarm
|
||||
data:
|
||||
time: "07:00:00"
|
||||
# action:
|
||||
# - choose:
|
||||
# - conditions:
|
||||
# - condition: state
|
||||
# entity_id: binary_sensor.is_workday
|
||||
# state: "off"
|
||||
# sequence:
|
||||
# - action: input_datetime.set_datetime
|
||||
# target:
|
||||
# entity_id: input_datetime.clint_next_alarm
|
||||
# data:
|
||||
# time: "07:00:00"
|
||||
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.is_workday
|
||||
state: "on"
|
||||
sequence:
|
||||
- action: input_datetime.set_datetime
|
||||
target:
|
||||
entity_id: input_datetime.clint_next_alarm
|
||||
data:
|
||||
time: "05:30:00"
|
||||
# - conditions:
|
||||
# - condition: state
|
||||
# entity_id: binary_sensor.is_workday
|
||||
# state: "on"
|
||||
# sequence:
|
||||
# - action: input_datetime.set_datetime
|
||||
# target:
|
||||
# entity_id: input_datetime.clint_next_alarm
|
||||
# data:
|
||||
# time: "05:45:00"
|
||||
|
||||
@@ -21,25 +21,21 @@ action:
|
||||
|
||||
- action: media_player.volume_set
|
||||
data:
|
||||
entity_id: media_player.home_assistant_voice_097b44_media_player
|
||||
entity_id: media_player.ma_home_assistant_voice_097b44_media_player
|
||||
volume_level: 0.50
|
||||
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: input_select.master_bedroom_mode
|
||||
state: "off"
|
||||
sequence:
|
||||
- action: input_select.select_option
|
||||
data:
|
||||
option: Energize
|
||||
target:
|
||||
entity_id: input_select.master_bedroom_mode
|
||||
|
||||
- action: input_select.select_option
|
||||
data:
|
||||
option: Energize
|
||||
target:
|
||||
entity_id: input_select.master_bedroom_mode
|
||||
|
||||
- action: script.wake_up_the_master_bedroom
|
||||
- action: music_assistant.play_media
|
||||
target:
|
||||
entity_id: media_player.ma_home_assistant_voice_097b44_media_player
|
||||
data:
|
||||
media_type: playlist
|
||||
media_id: library://playlist/32
|
||||
enqueue: replace
|
||||
|
||||
- action: script.wake_the_bedroom
|
||||
|
||||
Reference in New Issue
Block a user