I want to decrease my solar inverter in several steps from 1% at a time.
This simplified code is not working. I do keep getting Message malformed: expected float for dictionary value @ data[‘value’]
Can anybody help me?
type or paste code here
The malfunctioning piece of code without the conditions:
repeat:
count: 100
sequence:
***** if condition is right ****
- device_id: **********
domain: number
entity_id: number.goodwe_grid_export_limit
type: set_value
value: ("{{ states('number.goodwe_grid_export_limit')|float }}" - 1)
Before you go, please consider marking my post above with the Solution tag. It will automatically place a check-mark next to the topic’s title which indicates to others that the topic has been solved. This helps other users find answers to similar questions.