core/tests/components/homekit
J. Nick Koston f25321e010
Use homekit service callbacks for lights to resolve out of sync states (#32348)
* Switch homekit lights to use service callbacks

Service callbacks allow us to get the on/off, brightness, etc
all in one call so we remove all the complexity that was
previously needed to handle the out of sync states

We now get the on event and brightness event at the same time
which allows us to prevent lights from flashing up to 100%
before the requested brightness.

* Fix STATE_OFF -> STATE_ON,brightness:0
2020-04-02 20:06:13 -05:00
..
__init__.py Add missing __init__ test files (#16871) 2018-09-25 23:08:37 +02:00
common.py Black 2019-07-31 12:25:30 -07:00
conftest.py Sort imports according to PEP8 for homekit (#29645) 2019-12-08 18:16:49 +01:00
test_accessories.py Fix typos found by codespell (#31243) 2020-01-31 08:33:00 -08:00
test_get_accessories.py Add and use percentage constant (#32094) 2020-02-28 11:46:48 -08:00
test_homekit.py Fix test 2019-12-22 10:31:23 +01:00
test_type_covers.py Add HomeKit support for slat tilting (#33388) 2020-03-30 19:47:03 -05:00
test_type_fans.py Fix HomeKit with entity registry restoration where supported_features is a non-None falsey (#30657) 2020-01-10 16:33:48 -08:00
test_type_lights.py Use homekit service callbacks for lights to resolve out of sync states (#32348) 2020-04-02 20:06:13 -05:00
test_type_locks.py Black 2019-07-31 12:25:30 -07:00
test_type_media_players.py Fix HomeKit with entity registry restoration where supported_features is a non-None falsey (#30657) 2020-01-10 16:33:48 -08:00
test_type_security_systems.py Black 2019-07-31 12:25:30 -07:00
test_type_sensors.py Add and use percentage constant (#32094) 2020-02-28 11:46:48 -08:00
test_type_switches.py Black 2019-07-31 12:25:30 -07:00
test_type_thermostats.py Add humidity support to homekit thermostats (#33367) 2020-03-31 11:45:33 -07:00
test_util.py Fix homekit temperaturesensor round (#27047) 2019-10-03 17:44:07 -07:00