Commit graph

8 commits

Author SHA1 Message Date
Paulus Schoutsen
2af984917e
Use asynctest-mock in most places ()
* Use asynctest-mock in most places

* Fix broken patch in pilight
2020-05-03 11:27:19 -07:00
J. Nick Koston
e8710002b1
Convert homekit fans to use service callbacks ()
* Convert homekit fans to use service callbacks

* Convert homekit fans to use service callbacks

Service callbacks allow us ensure that we call
fan services in the correct order.

* Avoid calling turn_on if a speed is sent and the device is on

* Fix test to not leave files behind

* Fix test

* Update homeassistant/components/homekit/type_fans.py

Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-04-15 21:39:31 -05:00
Bas Nijholt
b731ddabde Sort imports according to PEP8 for homekit () 2019-12-08 18:16:49 +01:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
cdce8p
a9a8cbbd10
Homekit component cleanup ()
* hass.async_add_executor_job
* Fix accessories.run -> async_track_state_change
* Fixed media_player test
* Flags are now local vars
* consistent use of " and '
2018-10-20 00:14:05 +02:00
ehendrix23
fee87cd6ed Add LogBook support to HomeKit () 2018-10-16 13:32:53 +02:00
Paulus Schoutsen
d071df0dec
Do not make internet connection during tests ()
* Do not make internet connection

* Small improvement
2018-08-07 09:27:40 +02:00
cdce8p
7d2563eb1f
Update HAP-python to 2.2.2 ()
* Pass driver to accessory
* Added 'hk_driver' fixture for tests
2018-05-29 22:43:26 +02:00