Hello all,
By now I have a pretty decent setup of Home Assistant.
With around 90 ZigBee Devices, 20 Shellys, and so on.
I want to make things a bit more configurable.
I am using motion detectors to toggle lights, but they should only turn on when it’s a certain lux level.
That works great or a static number in my automations. But now I want to create some kind of “Admin dashboard” where I can centrally control some toggles and numbers (such as lux level, …).
I’ve created an “input_number” for the “lux_limit”.
Tried to use that in an automation like below:
type: is_illuminance
condition: device
device_id: 6c273cfa15c5c876fb7ec8fe97ce716a
entity_id: sensor.lumi_lumi_sensor_motion_aq2_illuminance_4
domain: sensor
below: {{ input_number.lux_limit }}
But I receive the Error “Message malformed: expected float for dictionary value @ data[‘below’]”.
Seems like the Automation is expecting a float, not an int.
Can somebody give me some help?
Thanks in advance.