Commit Graph

23 Commits (d72c28a1357dba0bef25ee0acc2f07e628109458)

Author SHA1 Message Date
epenet 6f05a74686
Enforce MediaPlayerEntityFeature (#82462) 2022-11-22 07:15:37 +01:00
epenet 18e30e7c06
Adjust type hints for MediaPlayerEntityFeature (#82258) 2022-11-17 13:58:34 +01:00
J. Nick Koston f23b1750e8
Migrate HomeKit Controller to use stable identifiers (#80064) 2022-10-11 11:26:03 -10:00
epenet ada1cff4b1
Use new media player enums in homekit_controller (#78105)
* Use new media player enums in homekit_controller

* Replace OK/PROBLEM with ON/OFF

* Fix tests
2022-09-15 12:00:52 +02:00
J. Nick Koston c580bce879
Move HKC entity classes into entity.py (#76333) 2022-08-06 08:10:26 -10:00
epenet a5b919ec6b
Use EntityFeature in homekit_controller (#69404) 2022-04-06 12:04:58 +02:00
Jc2k 714a952d73
Enable types from aiohomekit to be used by mypy for homekit_controller (#65433) 2022-02-03 10:18:03 -06:00
Jc2k 9f5d77e0df
Add missing type hints to homekit_controller (#65368) 2022-02-01 13:30:37 -06: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
epenet 10f57cf1f5
Use new enums in homekit-controller (#61689)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-13 17:04:21 +01:00
Franck Nijhof fcdd8b11a6
Collection of changing entity properties to class attributes - 2 (#51345) 2021-06-01 12:43:55 -07:00
Franck Nijhof 786023fce4
Merge of nested IF-IF cases - H-J (#48368) 2021-03-27 11:30:29 +01:00
Jc2k 3e1f2a5103
Refactor how entities are created for homekit_controller services (#43242) 2020-11-16 23:11:39 +00:00
Franck Nijhof 1c2ebdf307
Upgrade black to 20.8b1 (#39287) 2020-08-27 13:56:20 +02:00
Erik Montnemery 62bc02fdda
Rename MediaPlayerDevice to MediaPlayerEntity (#34592) 2020-04-25 18:00:57 +02:00
Jc2k 7c79adad8f
Refactor and simplify homekit_controller entity setup (#32927) 2020-03-18 10:12:55 -05:00
Jc2k 6affb27711
Fix homekit_controller beta connectivity issues (#32810) 2020-03-14 23:34:29 +01: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 19faf06ce7
homekit_controller fixes from testing with an LG TV: (#32610)
* Bump aiohomekit to get better reconnection handling and cleaner shutdowns.
 * Read the ACTIVE characteristic and set ok/problem state

Also gets test coverage to 100%.
2020-03-09 12:19:17 -04:00
Jc2k 2879081772
Implement source switching for homekit_controller televisions (#32526) 2020-03-06 15:47:40 +00:00
Jc2k 007d934214
Initial support for HomeKit enabled televisions (#32404)
* Initial support for HomeKit enabled televisions

* Fix nit from review
2020-03-05 13:49:56 +00:00