-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathautomations.yaml
More file actions
41 lines (41 loc) · 1.07 KB
/
Copy pathautomations.yaml
File metadata and controls
41 lines (41 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
- id: shellies_announce
alias: Shellies Announce
trigger:
- platform: homeassistant
event: start
- platform: time_pattern
hours: /1
action:
service: mqtt.publish
data:
topic: shellies/command
payload: announce
- id: shellies_discovery
alias: Shellies Discovery
mode: queued
max: 999
trigger:
platform: mqtt
topic: shellies/announce
action:
service: python_script.shellies_discovery
data:
id: '{{ trigger.payload_json.id }}'
mac: '{{ trigger.payload_json.mac }}'
fw_ver: '{{ trigger.payload_json.fw_ver }}'
model: '{{ trigger.payload_json.model | default }}'
mode: '{{ trigger.payload_json.mode | default }}'
host: '{{ trigger.payload_json.ip }}'
- id: '1659614570470'
alias: 'Ladestation: trigger power off for standby power consumption'
description: ''
trigger:
- platform: mqtt
topic: automation/ladestation_trigger_off
condition: []
action:
- type: turn_off
device_id: 5a3487c0ddb0211e53ff6a0acd79f934
entity_id: switch.ladestation
domain: switch
mode: single