Hey guys,
i’ve got a step sensor from my fitbit (sensor.fitbit1_steps) which is reseting ever day. I want to create an additional sensor which sums up all steps without reseting jusing the total_increase state class. So i’ve created this template sensor in my configuration.yaml:
template:
- sensor:
name: “Schritte summiert”
unit_of_measurement: “steps”
state: “{{ states(‘sensor.fitbit1_steps’) }}”
state_class: total_increasing
The sensor is working and is shown up in developer tools with the “state_class: total_increasing” but the sensor is acting exactly like the sensor.fitbit1_steps and resets every day.
Any ideas?