I have an Inovelli mmwave switch with lux sensor and a shelly 1 mini. I want the Shelly to turn on when lux sensor is at 50 or less.
I have the below automation set up via GUI but it does not seem to do anything (Shelly never gets turned on when lx value changes)
alias: Kitchen-dark-sink-on
description: ""
triggers:
- type: illuminance
device_id: 3f485cfb77f9b493cb1d3af8408f5c8b
entity_id: 436b814f6c1f3856a362134e86f9bc88
domain: sensor
trigger: device
below: 50
conditions: []
actions:
- type: turn_on
device_id: 093d9bcb9eff7bb43ae33f5f14c75572
entity_id: 0bad9acb3ad2ec86c57b4d2262bb082f
domain: switch
mode: single