Hi Ive just initialled Hassio on a Pi3 and ive various smart switches, google home, rukos around the house . so far I have managed to send a push message to my phone when a shelly switch is turned on and turn other lights on. but what ican get to work is turn another device if the shelly drops off the wifi please see scrip below , I have tried it with and without quotes and tried connected in the from:
description: ‘’
trigger:
- entity_id: switch.shelly_shsw_1_ba6a91
from: ‘“on” or “Off”’
platform: state
to: ‘“unavailable”’
condition: []
action: - device_id: 2bce96f8a9f459c8bdc19ef38ef4ec2c
domain: switch
entity_id: switch.test_kasa
type: toggle