1
0
mirror of https://github.com/home-assistant/core.git synced 2025-06-05 05:37:04 +00:00

15 Commits

Author SHA1 Message Date
Jc2k
b8cbd39985 HomeKit Controller: Adopt config entries for pairing with homekit accessories ()
* Fix user initiated pairing + show more user friendly name

* Add lock around async_refresh_entity_map

* Migrate homekit_controller to config entries.

* Improve docstring

Co-Authored-By: Martin Hjelmare <marhje52@kth.se>

* Add dummy async_setup_platform

* add_service -> async_add_service

* Add missing returns

* Enable coverage checks for homekit_controller
2019-05-12 23:56:05 -07:00
Jc2k
0fe21f2015 Support STATE_AUTO in homekit_controller climate () 2019-05-01 22:44:54 -05:00
Jc2k
1c4367e5a9 Fix min/max temp and humidity for homekit_controller climate ()
* Fix min/max temp and humidity for homekit_controller climate.

* Fix typo
2019-05-01 00:08:30 +02:00
Jc2k
a97fb8fd10 Support fetching/setting humidity of HomeKit controller thermostats ()
* Add support for homekit humidity control

* Add tests
2019-04-17 10:03:32 -07:00
Jc2k
e97b2b7015 Fix homekit_controller climate supported operation_list being blank ()
* Fix tado supported operation modes when used with homekit_controller

* Replace with list comp as requested in review

* More list comps
2019-04-15 17:09:21 +02:00
cgtobi
2c07bfb9e0 Remove dependencies and requirements ()
* Remove dependencies and requirements

* Revert "Remove dependencies and requirements"

This reverts commit fe7171b4cd30889bad5adc9a4fd60059d05ba5a7.

* Remove dependencies and requirements

* Revert "Remove dependencies and requirements"

This reverts commit 391355ee2cc53cbe6954f940062b18ae34b05621.

* Remove dependencies and requirements

* Fix flake8 complaints

* Fix more flake8 complaints

* Revert non-component removals
2019-04-12 10:13:30 -07:00
Jc2k
a62c116959 Remove get_serial helper that is no longer needed. () 2019-03-25 23:49:51 -07:00
Paulus Schoutsen
4b1de61110
Use relative imports inside integrations ()
* Use relative imports inside integrations

* Lint

* Fix automation tests

* Fix scene imports
2019-03-20 22:56:46 -07:00
Jc2k
5e2302e469 Add an asyncio Lock around pairing, which cant be used concurrently () 2019-03-11 11:59:41 -07:00
Joakim Plate
c5de32e7b1 Climate const.py move ()
* Move constants to const.py

* Import from const instead of climate
2019-02-14 20:34:43 +01:00
Fabian Affolter
3736120c6a
Update file header ()
* Update file header

* Fix lint issue

* Fix lint issue
2019-02-14 16:01:46 +01:00
Jc2k
abeb875c61 Homekit controller BLE groundwork (part 2) ()
* Only fetch values of characteristics we are tracking.

* Use callbacks on subclasses to update individual values

* Update alarm_control_panel to use update callbacks

* Update climate to use update callbacks

* Update cover to use update callbacks

* Update light to use update callbacks

* Update lock to use update callbacks

* Update switch to use update callbacks

* Remove compatibility code as all entities migrated

* pylint by name rather than code
2019-01-28 21:27:26 +01:00
Jc2k
41c1997b88 Homekit controller BLE groundwork ()
* Define the characteristics to poll (or subscribe to) up front

* Configure characteristics immediately instead of during first poll

* Do as much cover configuration upfront as possible

* Remove test workaround as no longer needed

* Remove switch code that is already handled by HomeKitEntity

* Remove lock code already handled by HomeKitEntity

* Remove light code already handled by HomeKitEntity

* Remove alarm code already handled by HomeKitEntity

* Remove climate code already handled by HomeKitEntity
2019-01-28 17:21:20 +01:00
Jc2k
10e3698fd7 Add homekit_controller tests ()
* Add a test for a homekit_controller switch

* Add a test for a homekit_controller lightbulb

* Add a test for homekit_controller thermostat

* Changes from review

* Patch utcnow to known time in HK tests

* Neater fixture use per review
2019-01-27 12:34:49 +01:00
Jc2k
cea2bf94bd Move homekit_controller entity types under homekit_controller platform ()
* Move homekit_controller entity types under homekit_controller platform

* Update coveragerc as homekit_controller moved
2019-01-25 07:43:01 -08:00