Hi
I get the error : Message malformed: expected float for dictionary value @ data[‘for’][‘minutes’]
when I use this template in an automation
trigger:
- type: no_motion
platform: device
device_id: e0954ea41d7a6da69baeff2e9558ed13
entity_id: binary_sensor.v4b01_motion
domain: binary_sensor
id: '1'
for:
hours: 0
minutes: {{states('input_number.timeout_offices') |float }}
seconds: 0
when I test this out it works perfectly and returns a float
2 posts - 2 participants