mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-21 15:06:05 +01:00
Previously, when the source sensor's state remains constant, the derivative sensor repeats its latest value indefinitely. This patch fixes this bug by consuming the state_reported event and updating the sensor's output even when the source sensor doesn't change its state.