hass-core/homeassistant/components/automation
Jon Caruana 2a6c0cfc17 LiteJet: Unit tests and new trigger options held_more_than and held_less_than. (#4473)
* LiteJet: Unit tests and new trigger options held_more_than and held_less_than.
* Unit tests for the LiteJet component and associated platforms. Coverage is almost 100% -- just misses one line.
* The automation LiteJet trigger returns an empty "removal" function to ensure the automation base is happy with it. The pylitejet library doesn't actually support a real removal.
* The automation LiteJet trigger can detect hold time and act appropriately to support things like short tap or long hold.

* LiteJet: Fix indent in unit test source code.

* LiteJet: Fix test_include_switches_* unit tests on Python 3.5

* LiteJet: Remove wait for state existence from unit tests. Recent fixes to discovery make this no longer necessary.
2016-11-24 09:52:15 -08:00
..
__init__.py Upgrade linter (#4461) 2016-11-18 21:47:59 -08:00
event.py Add async_safe annotation (#3688) 2016-10-04 20:44:32 -07:00
litejet.py LiteJet: Unit tests and new trigger options held_more_than and held_less_than. (#4473) 2016-11-24 09:52:15 -08:00
mqtt.py Add async_safe annotation (#3688) 2016-10-04 20:44:32 -07:00
numeric_state.py Add async_safe annotation (#3688) 2016-10-04 20:44:32 -07:00
services.yaml Allow reloading automation without restarting HA (#3002) 2016-09-04 17:15:52 +02:00
state.py Add async_safe annotation (#3688) 2016-10-04 20:44:32 -07:00
sun.py Add async_safe annotation (#3688) 2016-10-04 20:44:32 -07:00
template.py Add async_safe annotation (#3688) 2016-10-04 20:44:32 -07:00
time.py Add async_safe annotation (#3688) 2016-10-04 20:44:32 -07:00
zone.py Add async_safe annotation (#3688) 2016-10-04 20:44:32 -07:00