@oferfrid wrote:
Hi
I have a numeric value (from slider)boiler_save_temperature: name: Save Temperature initial: 50 min: 40 max: 70 step: 10
I can view it’s value using tamplate:
> {{ states('input_number.boiler_save_temperatur') | float }}
I’ve tried to use this value in automation:- id: '1580322266512' alias: Boiler set on description: '' trigger: - below: "{{ states('input_number.boiler_save_temperatur') | float }}" entity_id: sensor.boiler_ds18b20_temperature for: 0:00:05 platform: numeric_state condition: - condition: state entity_id: switch.boiler state: 'off' - below: "{{ states('input_number.boiler_save_temperatur') | float }}" condition: numeric_state entity_id: sensor.boiler_ds18b20_temperature action: - data: entity_id: switch.boiler service: switch.turn_on
this is the error i get:
Invalid config for [automation]: expected float for dictionary value @ data['condition'][1]['below']. Got None expected float for dictionary value @ data['trigger'][0]['below']. Got None. (See /config/configuration.yaml, line 151)
Posts: 4
Participants: 3