mirror of
https://github.com/home-assistant/core.git
synced 2025-04-27 02:37:50 +00:00

* force_update added As per this discussion we need to update last_changed when active timer restarted. One way to do that is to force HA update the state on each request even if it remains the same. More details here - https://github.com/home-assistant/architecture/issues/345 * add test for force_update make sure state_change event fired every time timer (re)started * remove whitespaces * remove whitespace * Update tests/components/timer/test_init.py Co-Authored-By: Alexei Chetroi <lexoid@gmail.com> * fix lint * fix isort Co-authored-by: Alexei Chetroi <lexoid@gmail.com>