Skip to content

Commit

Permalink
Update to shellies automation (as of 0.39.x) #42
Browse files Browse the repository at this point in the history
  • Loading branch information
conorsham committed Jul 30, 2021
1 parent e0df381 commit 398c5ce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions automations/utilities/shelly_discovery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ 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 }}'
model: '{{ trigger.payload_json.model }}'
mode: '{{ trigger.payload_json.mode | default }}'

0 comments on commit 398c5ce

Please sign in to comment.