HI
My 1st automation for testing when the sensor is from off to on , to switch to on one light switch.
but it’s not doing nothing…
i don’t know why…
can someone help me please?
my yaml is
"
id: ‘1592327763973’
alias: Teste WC
description: Testar PIR
trigger:
entity_id: binary_sensor.pir_hall
from: ‘off’
platform: state
to: ‘on’
condition: []
action: