Files
home-assistant-core/tests/components/twentemilieu/__init__.py
T
Franck NijhofandMartin Hjelmare 9d4b5ee58d Add Twente Milieu integration (#25129)
* Adds Twente Milieu integration

* Addresses flake8 warnings

* Adds required test deps

* Fixes path typo in coveragerc

* dispatcher_send -> async_dispatcher_send

Signed-off-by: Franck Nijhof <[email protected]>

* Removes not needed __init__

Signed-off-by: Franck Nijhof <[email protected]>

* Remove explicitly setting None default value on get call

Signed-off-by: Franck Nijhof <[email protected]>

* Correct typo in comment

Signed-off-by: Franck Nijhof <[email protected]>

* Clean storage for only the unloaded entry

Signed-off-by: Franck Nijhof <[email protected]>

* asyncio.wait on updating all integrations

Signed-off-by: Franck Nijhof <[email protected]>

* Use string formatting

Signed-off-by: Franck Nijhof <[email protected]>

* Set a more sane SCAN_INTERVAL

Signed-off-by: Franck Nijhof <[email protected]>

* Small refactor around services

Signed-off-by: Franck Nijhof <[email protected]>

* Small styling correction

* Extract update logic into own function

Signed-off-by: Franck Nijhof <[email protected]>

* Addresses flake8 warnings
2019-07-14 12:30:23 +02:00

2 lines
47 B
Python

"""Tests for the Twente Milieu integration."""