bartplessers
Hi everyone, I'm trying to create an automation that turns on a light when my active power is below a certain threshold. In the GUI of HA: ## TRIGGERS  ## CONDITIONS  ## ACTIONS  However, this seems not to work. I checked the values, i.e.:  PS. In YAML, the automation became  ``` - id: '1642434242283' alias: SchakelAlsVerbruikOnderGrens description: SchakelAlsVerbruikOnderGrens trigger: - platform: numeric_state entity_id: sensor.p1_meter_active_power_l1 id: sensor.p1_meter_active_power_l1_250W attribute: unit_of_measurement below: '325' condition: [] action: - type: toggle device_id: 829993eca56b2896acc3b9851fec86f7 entity_id: light.my_n00_p03_light_l19_hanglamp domain: light mode: single ``` What am I doing wrong? Any help is appreciated, kind regards, Bart Plessers