You could try
state: "{{ 100 - (states('sensor.rolladenposition_kuche') | int(0)) }}"
You may also use address: i-rolladenpos_kuche_percent
in the expose and for position_state_address
. The i-
with some string appended denotes an internal GA - this is only used internally and never sent to the bus.
Other than that - the value returned from position_state_address
has to match the value sent from position_address
. So if you send 0% to the actuator it shall, at the end of travel return 0 on the state.
@airmax please tell me the manufacturer and model of this device so I never ever fall into the trap of buying a device from them