Jc2k
9f5d77e0df
Add missing type hints to homekit_controller ( #65368 )
2022-02-01 13:30:37 -06:00
Jc2k
dd5bcafab7
Enable mypy checks for homekit_controller ( #65358 )
2022-02-01 11:27:35 +00:00
Jc2k
0f88790303
Refactor homekit_controller to prepare for more typing information ( #65329 )
2022-01-31 16:48:16 -06:00
epenet
1f35ad08e2
Add basic type hints to homekit_controller ( #62880 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 18:24:40 +00:00
Jc2k
06eec7adfc
Allow adding new devices to an Aqara hub via homekit_controller ( #62600 )
2021-12-22 08:49:58 -10:00
Marc Mueller
eab235173b
Use assignment expressions 28 ( #58189 )
2021-10-22 14:06:04 +02:00
Erik Montnemery
af4d06b12e
Update integrations f-i to override extra_state_attributes() ( #47757 )
2021-03-11 16:57:47 +01:00
Jc2k
3e1f2a5103
Refactor how entities are created for homekit_controller services ( #43242 )
2020-11-16 23:11:39 +00:00
Philip Allgaier
625bbe6238
Cleanup unused loggers (components A-M) ( #41600 )
2020-10-12 16:59:05 +02:00
Erik Montnemery
066e921a8b
Rename SwitchDevice to SwitchEntity ( #34673 )
2020-04-26 18:50:37 +02:00
Jc2k
34e44e7f3a
Add support for homekit valve accessories to homekit_controller ( #32937 )
2020-03-18 21:20:40 +00:00
Jc2k
ffe8b94d75
Simplfy homekit_controller characteristic writes ( #32683 )
2020-03-11 09:27:20 -07:00
Jc2k
647d137daa
Refactor homekit_controller entity update to work more like update coordinator ( #32670 )
...
* Clean up use of get_characteristic_types
* Get rid of get_hk_char_value helper
* Get rid of _update_fn callbacks
* Call async_write_has_state directly as async_state_changed doesnt do anything any more
2020-03-11 07:40:47 -04:00
Jc2k
df9363610c
Refactor homekit_controller to be fully asynchronous ( #32111 )
...
* Port homekit_controller to aiohomekit
* Remove succeed() test helper
* Remove fail() test helper
2020-02-24 10:55:33 +01:00
Paulus Schoutsen
e9e44dbd97
Fix callback and async ( #31281 )
...
* Fix callback and async
* Fix a return
* Fix test
* Fix mqtt tests
* Fix some more callbacks
2020-01-29 13:59:45 -08:00
Franck Nijhof
fb35d382e1
Remove all empty *_setup_platform() from integrations ( #31025 )
...
* Remove all empty *_setup_platform() from integrations
* Fix tests for smartthings
* Fix tests for heos
2020-01-21 12:38:38 +01:00
Jc2k
002f74c76b
Update homekit_controller import style ( #25940 )
2019-08-14 09:14:15 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Jc2k
b8cbd39985
HomeKit Controller: Adopt config entries for pairing with homekit accessories ( #23825 )
...
* 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
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* 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. ( #22368 )
2019-03-25 23:49:51 -07:00
Paulus Schoutsen
4b1de61110
Use relative imports inside integrations ( #22235 )
...
* 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 ( #21933 )
2019-03-11 11:59:41 -07:00
Fabian Affolter
3736120c6a
Update file header ( #21061 )
...
* 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) ( #20548 )
...
* 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 ( #20538 )
...
* 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
cea2bf94bd
Move homekit_controller entity types under homekit_controller platform ( #20376 )
...
* Move homekit_controller entity types under homekit_controller platform
* Update coveragerc as homekit_controller moved
2019-01-25 07:43:01 -08:00