diff --git a/automations.yaml b/automations.yaml index b13b9fb..705e97e 100644 --- a/automations.yaml +++ b/automations.yaml @@ -125,3 +125,45 @@ input: url: https://open.spotify.com/track/4llJfGpDZXud9PVCSUJflU tag_id: 45-A9-47-E3 +- id: '1667311111811' + alias: Mikroovn låge test + description: '' + trigger: + - type: power + platform: device + device_id: a3482d06da2f66ab5dd3c8f890dbeafd + entity_id: sensor.mikroovn_power + domain: sensor + above: 15 + below: 100 + for: + hours: 0 + minutes: 5 + seconds: 0 + condition: [] + action: + - service: media_player.volume_set + data: + volume_level: 0.5 + target: + entity_id: media_player.dining_room + - repeat: + until: + - type: is_power + condition: device + device_id: a3482d06da2f66ab5dd3c8f890dbeafd + entity_id: sensor.mikroovn_power + domain: sensor + below: 15 + sequence: + - service: tts.google_translate_say + data: + entity_id: media_player.dining_room + language: da + message: Mikroovn låge står åben! + - delay: + hours: 0 + minutes: 5 + seconds: 0 + milliseconds: 0 + mode: restart