@Lasse_Hedeby wrote:
Hi
In an action in my automations I am calling this service;
- service: climate.set_temperature data: entity_id: climate.baggang_gulvvarme temperature: "{{ states('input_number.gulvarme_stuen') | float }}"
If I test the template {{ states(‘input_number.gulvarme_stuen’) | float }} it returns 26.0. But when I call this service with this automation I get this error;
Invalid data for call_service at pos 2: expected float for dictionary value @ data[‘temperature’]But the template is returning a float, so I cannot see where it whent wrong.
I am running HA 0.102.3 in Docker.
Posts: 3
Participants: 3