Updated, modified and streamlined a whole bunch of stuff.

This commit is contained in:
2025-09-04 14:18:29 +02:00
parent 911477d381
commit 61b018270b
4 changed files with 38 additions and 66 deletions

View File

@@ -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:

View File

@@ -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) }}"

View File

@@ -11,16 +11,12 @@ http:
tts:
- platform: picotts_remote
language: "de-DE"
- platform: google_translate
language: "de"
# Include modules
group: !include groups.yaml
automation: !include automations.yaml
automation webhooks: !include automations_webhooks.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
notify: !include notify.yaml
# Enable additional integrations
# Enable 'wake_on_lan' intrgration
@@ -32,11 +28,10 @@ homeassistant:
# Additional sensors
sensor: !include sensors.yaml
command_line: !include commandline.yaml
utility_meter: !include utility_meters.yaml
# MQTT sensors
mqtt: !include mqtt.yaml
mqtt: !include mqtt.yaml
mqtt_statestream: !include mqtt_statestream.yaml
# Template sensors

View File

@@ -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