core/tests/components/timer
akasma74 83cc871edf
Add force_update to timer integration (#31646)
* 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>
2020-04-02 23:48:41 -07:00
..
__init__.py Move timer into correct folder (#10324) 2017-11-03 21:10:08 -07:00
test_init.py Add force_update to timer integration (#31646) 2020-04-02 23:48:41 -07:00
test_reproduce_state.py Sort imports according to PEP8 for components starting with "T" (#29778) 2019-12-09 14:41:48 +01:00