Updated, modified and streamlined a whole bunch of stuff.
This commit is contained in:
@@ -69,10 +69,6 @@
|
||||
alias: Gute Nacht!
|
||||
description: Schalte alles (außer Schlafzimmer) aus, sobald das Schlaftracking startet.
|
||||
triggers:
|
||||
- entity_id: input_text.sleep_as_android
|
||||
to: sleep_tracking_started
|
||||
trigger: state
|
||||
enabled: false
|
||||
- trigger: state
|
||||
entity_id:
|
||||
- event.sleep_as_android_schlaf_tracking
|
||||
@@ -236,10 +232,11 @@
|
||||
alias: Licht im Schlafzimmer zur Schlafenszeit einschalten
|
||||
description: Bei Beginn der empfohlenen Schlafenszeit.
|
||||
triggers:
|
||||
- entity_id: input_text.sleep_as_android
|
||||
- trigger: state
|
||||
entity_id:
|
||||
- event.sleep_as_android_benutzerbenachrichtigung
|
||||
attribute: event_type
|
||||
to: time_to_bed_alarm_alert
|
||||
for: 00:05:00
|
||||
trigger: state
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: person.marcus_scholz
|
||||
@@ -278,10 +275,6 @@
|
||||
alias: Licht im Schlafzimmer zum Aufwachen einschalten
|
||||
description: Nach der Alarmquittierung
|
||||
triggers:
|
||||
- entity_id: input_text.sleep_as_android
|
||||
to: alarm_alert_start
|
||||
trigger: state
|
||||
enabled: false
|
||||
- trigger: state
|
||||
entity_id:
|
||||
- event.sleep_as_android_schlaf_tracking
|
||||
@@ -442,10 +435,6 @@
|
||||
alias: Raumduft zum Aufstehen einschalten
|
||||
description: ''
|
||||
triggers:
|
||||
- entity_id: input_text.sleep_as_android
|
||||
to: sleep_tracking_stopped
|
||||
trigger: state
|
||||
enabled: false
|
||||
- trigger: state
|
||||
entity_id:
|
||||
- event.sleep_as_android_schlaf_tracking
|
||||
@@ -566,11 +555,9 @@
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_text.sleep_as_android
|
||||
state: sleep_tracking_stopped
|
||||
- condition: state
|
||||
entity_id: input_text.sleep_as_android
|
||||
state: alarm_alert_dismiss
|
||||
entity_id: event.sleep_as_android_schlaf_tracking
|
||||
attribute: event_type
|
||||
state: stopped
|
||||
actions:
|
||||
- data:
|
||||
cache: true
|
||||
@@ -592,6 +579,16 @@
|
||||
entity_id: tts.piper
|
||||
enabled: true
|
||||
action: tts.speak
|
||||
- data:
|
||||
cache: true
|
||||
media_player_entity_id: media_player.m5stack_atom_echo
|
||||
message: '{{message}}
|
||||
|
||||
'
|
||||
target:
|
||||
entity_id: tts.piper
|
||||
enabled: true
|
||||
action: tts.speak
|
||||
- data:
|
||||
topic: awtrix_desk/notify
|
||||
payload: '{"text": "{{message}}", "icon": "clockcolor", "duration": 16}'
|
||||
@@ -686,11 +683,9 @@
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_text.sleep_as_android
|
||||
entity_id: event.sleep_as_android_schlaf_tracking
|
||||
state: sleep_tracking_stopped
|
||||
- condition: state
|
||||
entity_id: input_text.sleep_as_android
|
||||
state: alarm_alert_dismiss
|
||||
attribute: event_type
|
||||
- condition: state
|
||||
entity_id: sensor.season
|
||||
state: summer
|
||||
@@ -930,44 +925,42 @@
|
||||
controller_device: f3b032ad1f3ccc658a7d4588cc0e5c0c
|
||||
helper_last_controller_event: input_text.styrbar_wohnzimmer_moodlight_letztes_event
|
||||
action_button_up_short:
|
||||
- service: light.turn_on
|
||||
data: {}
|
||||
- data: {}
|
||||
target:
|
||||
device_id:
|
||||
- 4edd9b9df7d1f6f2fe7dcc2e5c0eb968
|
||||
- 6dcbd87b459412144bddc42af3ae8b83
|
||||
action: light.turn_on
|
||||
action_button_down_short:
|
||||
- service: light.turn_off
|
||||
data: {}
|
||||
- data: {}
|
||||
target:
|
||||
device_id:
|
||||
- 6dcbd87b459412144bddc42af3ae8b83
|
||||
- 4edd9b9df7d1f6f2fe7dcc2e5c0eb968
|
||||
action: light.turn_off
|
||||
action_button_left_short:
|
||||
- service: script.wled_random_effect
|
||||
data: {}
|
||||
- data: {}
|
||||
action: script.wled_random_effect
|
||||
action_button_right_short:
|
||||
- service: script.wled_random_palette
|
||||
data: {}
|
||||
- data: {}
|
||||
action: script.wled_random_palette
|
||||
action_button_up_long:
|
||||
- service: light.turn_on
|
||||
metadata: {}
|
||||
data:
|
||||
brightness_pct: 10
|
||||
target:
|
||||
entity_id: light.wohnzimmer_moodlight
|
||||
action_button_down_long: []
|
||||
- action: script.moodlight_orange_plasma
|
||||
data: {}
|
||||
action_button_down_long:
|
||||
- action: script.moodlight_neutral
|
||||
data: {}
|
||||
action_button_down_double:
|
||||
- service: light.turn_off
|
||||
target:
|
||||
- target:
|
||||
device_id: 9f42805af5b7e423023595390342b9ac
|
||||
data: {}
|
||||
action: light.turn_off
|
||||
action_button_up_double:
|
||||
- service: light.turn_on
|
||||
metadata: {}
|
||||
- metadata: {}
|
||||
data: {}
|
||||
target:
|
||||
device_id: 9f42805af5b7e423023595390342b9ac
|
||||
action: light.turn_on
|
||||
button_up_double_press: true
|
||||
button_down_double_press: true
|
||||
- id: '1702588441751'
|
||||
@@ -1276,7 +1269,7 @@
|
||||
- conditions:
|
||||
- condition: template
|
||||
value_template: '{{ trigger.payload_json.action == ''BUTTON_FLOOR'' and trigger.payload_json.parameters
|
||||
== ''FF6F'' }}'
|
||||
== ''FF6F'' and trigger.payload_json.busdata == ''0110139A59A6FF6FA1CC''}}'
|
||||
sequence:
|
||||
- data:
|
||||
data:
|
||||
|
Reference in New Issue
Block a user