Updated, modified and streamlined a whole bunch of stuff.
This commit is contained in:
@@ -69,10 +69,6 @@
|
|||||||
alias: Gute Nacht!
|
alias: Gute Nacht!
|
||||||
description: Schalte alles (außer Schlafzimmer) aus, sobald das Schlaftracking startet.
|
description: Schalte alles (außer Schlafzimmer) aus, sobald das Schlaftracking startet.
|
||||||
triggers:
|
triggers:
|
||||||
- entity_id: input_text.sleep_as_android
|
|
||||||
to: sleep_tracking_started
|
|
||||||
trigger: state
|
|
||||||
enabled: false
|
|
||||||
- trigger: state
|
- trigger: state
|
||||||
entity_id:
|
entity_id:
|
||||||
- event.sleep_as_android_schlaf_tracking
|
- event.sleep_as_android_schlaf_tracking
|
||||||
@@ -236,10 +232,11 @@
|
|||||||
alias: Licht im Schlafzimmer zur Schlafenszeit einschalten
|
alias: Licht im Schlafzimmer zur Schlafenszeit einschalten
|
||||||
description: Bei Beginn der empfohlenen Schlafenszeit.
|
description: Bei Beginn der empfohlenen Schlafenszeit.
|
||||||
triggers:
|
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
|
to: time_to_bed_alarm_alert
|
||||||
for: 00:05:00
|
|
||||||
trigger: state
|
|
||||||
conditions:
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: person.marcus_scholz
|
entity_id: person.marcus_scholz
|
||||||
@@ -278,10 +275,6 @@
|
|||||||
alias: Licht im Schlafzimmer zum Aufwachen einschalten
|
alias: Licht im Schlafzimmer zum Aufwachen einschalten
|
||||||
description: Nach der Alarmquittierung
|
description: Nach der Alarmquittierung
|
||||||
triggers:
|
triggers:
|
||||||
- entity_id: input_text.sleep_as_android
|
|
||||||
to: alarm_alert_start
|
|
||||||
trigger: state
|
|
||||||
enabled: false
|
|
||||||
- trigger: state
|
- trigger: state
|
||||||
entity_id:
|
entity_id:
|
||||||
- event.sleep_as_android_schlaf_tracking
|
- event.sleep_as_android_schlaf_tracking
|
||||||
@@ -442,10 +435,6 @@
|
|||||||
alias: Raumduft zum Aufstehen einschalten
|
alias: Raumduft zum Aufstehen einschalten
|
||||||
description: ''
|
description: ''
|
||||||
triggers:
|
triggers:
|
||||||
- entity_id: input_text.sleep_as_android
|
|
||||||
to: sleep_tracking_stopped
|
|
||||||
trigger: state
|
|
||||||
enabled: false
|
|
||||||
- trigger: state
|
- trigger: state
|
||||||
entity_id:
|
entity_id:
|
||||||
- event.sleep_as_android_schlaf_tracking
|
- event.sleep_as_android_schlaf_tracking
|
||||||
@@ -566,11 +555,9 @@
|
|||||||
- condition: or
|
- condition: or
|
||||||
conditions:
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_text.sleep_as_android
|
entity_id: event.sleep_as_android_schlaf_tracking
|
||||||
state: sleep_tracking_stopped
|
attribute: event_type
|
||||||
- condition: state
|
state: stopped
|
||||||
entity_id: input_text.sleep_as_android
|
|
||||||
state: alarm_alert_dismiss
|
|
||||||
actions:
|
actions:
|
||||||
- data:
|
- data:
|
||||||
cache: true
|
cache: true
|
||||||
@@ -592,6 +579,16 @@
|
|||||||
entity_id: tts.piper
|
entity_id: tts.piper
|
||||||
enabled: true
|
enabled: true
|
||||||
action: tts.speak
|
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:
|
- data:
|
||||||
topic: awtrix_desk/notify
|
topic: awtrix_desk/notify
|
||||||
payload: '{"text": "{{message}}", "icon": "clockcolor", "duration": 16}'
|
payload: '{"text": "{{message}}", "icon": "clockcolor", "duration": 16}'
|
||||||
@@ -686,11 +683,9 @@
|
|||||||
- condition: or
|
- condition: or
|
||||||
conditions:
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_text.sleep_as_android
|
entity_id: event.sleep_as_android_schlaf_tracking
|
||||||
state: sleep_tracking_stopped
|
state: sleep_tracking_stopped
|
||||||
- condition: state
|
attribute: event_type
|
||||||
entity_id: input_text.sleep_as_android
|
|
||||||
state: alarm_alert_dismiss
|
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: sensor.season
|
entity_id: sensor.season
|
||||||
state: summer
|
state: summer
|
||||||
@@ -930,44 +925,42 @@
|
|||||||
controller_device: f3b032ad1f3ccc658a7d4588cc0e5c0c
|
controller_device: f3b032ad1f3ccc658a7d4588cc0e5c0c
|
||||||
helper_last_controller_event: input_text.styrbar_wohnzimmer_moodlight_letztes_event
|
helper_last_controller_event: input_text.styrbar_wohnzimmer_moodlight_letztes_event
|
||||||
action_button_up_short:
|
action_button_up_short:
|
||||||
- service: light.turn_on
|
- data: {}
|
||||||
data: {}
|
|
||||||
target:
|
target:
|
||||||
device_id:
|
device_id:
|
||||||
- 4edd9b9df7d1f6f2fe7dcc2e5c0eb968
|
- 4edd9b9df7d1f6f2fe7dcc2e5c0eb968
|
||||||
- 6dcbd87b459412144bddc42af3ae8b83
|
- 6dcbd87b459412144bddc42af3ae8b83
|
||||||
|
action: light.turn_on
|
||||||
action_button_down_short:
|
action_button_down_short:
|
||||||
- service: light.turn_off
|
- data: {}
|
||||||
data: {}
|
|
||||||
target:
|
target:
|
||||||
device_id:
|
device_id:
|
||||||
- 6dcbd87b459412144bddc42af3ae8b83
|
- 6dcbd87b459412144bddc42af3ae8b83
|
||||||
- 4edd9b9df7d1f6f2fe7dcc2e5c0eb968
|
- 4edd9b9df7d1f6f2fe7dcc2e5c0eb968
|
||||||
|
action: light.turn_off
|
||||||
action_button_left_short:
|
action_button_left_short:
|
||||||
- service: script.wled_random_effect
|
- data: {}
|
||||||
data: {}
|
action: script.wled_random_effect
|
||||||
action_button_right_short:
|
action_button_right_short:
|
||||||
- service: script.wled_random_palette
|
- data: {}
|
||||||
data: {}
|
action: script.wled_random_palette
|
||||||
action_button_up_long:
|
action_button_up_long:
|
||||||
- service: light.turn_on
|
- action: script.moodlight_orange_plasma
|
||||||
metadata: {}
|
data: {}
|
||||||
data:
|
action_button_down_long:
|
||||||
brightness_pct: 10
|
- action: script.moodlight_neutral
|
||||||
target:
|
data: {}
|
||||||
entity_id: light.wohnzimmer_moodlight
|
|
||||||
action_button_down_long: []
|
|
||||||
action_button_down_double:
|
action_button_down_double:
|
||||||
- service: light.turn_off
|
- target:
|
||||||
target:
|
|
||||||
device_id: 9f42805af5b7e423023595390342b9ac
|
device_id: 9f42805af5b7e423023595390342b9ac
|
||||||
data: {}
|
data: {}
|
||||||
|
action: light.turn_off
|
||||||
action_button_up_double:
|
action_button_up_double:
|
||||||
- service: light.turn_on
|
- metadata: {}
|
||||||
metadata: {}
|
|
||||||
data: {}
|
data: {}
|
||||||
target:
|
target:
|
||||||
device_id: 9f42805af5b7e423023595390342b9ac
|
device_id: 9f42805af5b7e423023595390342b9ac
|
||||||
|
action: light.turn_on
|
||||||
button_up_double_press: true
|
button_up_double_press: true
|
||||||
button_down_double_press: true
|
button_down_double_press: true
|
||||||
- id: '1702588441751'
|
- id: '1702588441751'
|
||||||
@@ -1276,7 +1269,7 @@
|
|||||||
- conditions:
|
- conditions:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{{ trigger.payload_json.action == ''BUTTON_FLOOR'' and trigger.payload_json.parameters
|
value_template: '{{ trigger.payload_json.action == ''BUTTON_FLOOR'' and trigger.payload_json.parameters
|
||||||
== ''FF6F'' }}'
|
== ''FF6F'' and trigger.payload_json.busdata == ''0110139A59A6FF6FA1CC''}}'
|
||||||
sequence:
|
sequence:
|
||||||
- data:
|
- data:
|
||||||
data:
|
data:
|
||||||
|
@@ -1,7 +0,0 @@
|
|||||||
- sensor:
|
|
||||||
# Raspberry Pi CPU temp
|
|
||||||
name: "CPU Temp"
|
|
||||||
unique_id: '4144237916258'
|
|
||||||
command: "cat /sys/class/thermal/thermal_zone0/temp"
|
|
||||||
unit_of_measurement: "°C"
|
|
||||||
value_template: "{{ value | multiply(0.001) | round(1) }}"
|
|
@@ -11,16 +11,12 @@ http:
|
|||||||
tts:
|
tts:
|
||||||
- platform: picotts_remote
|
- platform: picotts_remote
|
||||||
language: "de-DE"
|
language: "de-DE"
|
||||||
- platform: google_translate
|
|
||||||
language: "de"
|
|
||||||
|
|
||||||
# Include modules
|
# Include modules
|
||||||
group: !include groups.yaml
|
group: !include groups.yaml
|
||||||
automation: !include automations.yaml
|
automation: !include automations.yaml
|
||||||
automation webhooks: !include automations_webhooks.yaml
|
|
||||||
script: !include scripts.yaml
|
script: !include scripts.yaml
|
||||||
scene: !include scenes.yaml
|
scene: !include scenes.yaml
|
||||||
notify: !include notify.yaml
|
|
||||||
|
|
||||||
# Enable additional integrations
|
# Enable additional integrations
|
||||||
# Enable 'wake_on_lan' intrgration
|
# Enable 'wake_on_lan' intrgration
|
||||||
@@ -32,11 +28,10 @@ homeassistant:
|
|||||||
|
|
||||||
# Additional sensors
|
# Additional sensors
|
||||||
sensor: !include sensors.yaml
|
sensor: !include sensors.yaml
|
||||||
command_line: !include commandline.yaml
|
|
||||||
utility_meter: !include utility_meters.yaml
|
utility_meter: !include utility_meters.yaml
|
||||||
|
|
||||||
# MQTT sensors
|
# MQTT sensors
|
||||||
mqtt: !include mqtt.yaml
|
mqtt: !include mqtt.yaml
|
||||||
mqtt_statestream: !include mqtt_statestream.yaml
|
mqtt_statestream: !include mqtt_statestream.yaml
|
||||||
|
|
||||||
# Template sensors
|
# Template sensors
|
||||||
|
@@ -1,9 +0,0 @@
|
|||||||
#All Mobile Phones
|
|
||||||
- platform: group
|
|
||||||
name: "Alle mobilen Geräte"
|
|
||||||
services:
|
|
||||||
- service: mobile_app_le2123
|
|
||||||
- service: mobile_app_apollo
|
|
||||||
- service: mobile_app_xt2125_4
|
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user