mirror of
https://github.com/home-assistant/core.git
synced 2025-04-22 08:17:52 +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.