mirror of
https://github.com/home-assistant/core.git
synced 2025-11-14 05:20:17 +00: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.