So i have the below code but it never triggers. What am i missing? The action is working fine and the lux sensor is reporting.
alias: Living room lights off with lux
description: ''
trigger:
- platform: numeric_state
entity_id: sensor.philips_sml001_0745b504_illuminance
above: '50'
condition: []
action:
- service: light.turn_off
target:
entity_id: light.living_room_lights
mode: single