Jc2k
b8a8485e91
Replace use of deprecated APIs in aiohomekit ( #66409 )
2022-02-12 23:17:55 -06:00
Jc2k
95e4ea8fcd
Simplify the homekit_controller unignore journey ( #66353 )
2022-02-12 13:16:05 +00:00
Joshua Roys
9134e5c844
Get discovered zeroconf IPv6 addresses ( #65462 )
2022-02-11 16:46:17 -06:00
Jc2k
0daf20c0cc
Prepare for new aiohomekit lifecycle API ( #66340 )
2022-02-11 19:26:35 +00:00
Jc2k
0f88790303
Refactor homekit_controller to prepare for more typing information ( #65329 )
2022-01-31 16:48:16 -06:00
Jc2k
58b8c30221
Improve homekit_controller tests ( #65266 )
2022-01-30 16:59:39 -06:00
Jc2k
eb94fe1ca7
Use upstream constants when defining homekit service to platform mapping ( #65272 )
2022-01-30 16:59:01 -06:00
Jc2k
cc94af2872
Remove deprecated helper functions from homekit_controller pairing flow ( #65270 )
2022-01-30 16:20:19 -06:00
josephnad
75b37bee3d
Add homekit_controller support for ecobee vendor extensions ( #60914 )
...
Co-authored-by: josephnad <>
2022-01-30 15:02:47 -06:00
Jc2k
f49cfe866a
Support unpairing homekit accessories from homekit_controller ( #65065 )
2022-01-27 16:02:30 -06:00
Jc2k
a65694457a
Allow homekit_controller to set Ecobee's mode ( #65032 )
2022-01-27 11:02:38 -06:00
Jc2k
603d0fb068
Allow homekit_controller to customise Ecobee home/sleep/away thresholds ( #65036 )
2022-01-27 10:41:53 -06:00
Jc2k
9799965c62
Better names for energy related homekit_controller sensors ( #65055 )
2022-01-27 10:08:26 -06:00
Jc2k
24ee4256b9
Add additional energy sensors to Eve Energy ( #64826 )
2022-01-24 07:46:45 -10:00
Jc2k
5ac50a56b4
Make sensor name consistent with other homekit_controller entity names ( #64821 )
2022-01-23 22:42:55 -10:00
Jc2k
32099ea38a
Easier identification of devices with homekit_controller ( #64804 )
2022-01-23 16:49:40 -10:00
Jc2k
4a0a4624ff
Allow homekit_controller to handle device registry entries for devices with poor serial numbers ( #64749 )
2022-01-23 13:00:05 -10:00
Jc2k
fbe2b81cd4
Add diagnostics support for homekit_controller ( #64773 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-23 11:56:09 -10:00
Jc2k
061ee1b875
Add HUB_TEST_ACCESSORY_ID const for homekit_controller tests ( #64750 )
2022-01-23 11:51:55 -10:00
Kevin Van den Abeele
1b571db19d
Feature/voc olinc smart adapter vp3 power measurement ( #64571 )
2022-01-21 10:20:32 -10:00
Jc2k
f0fdd7d650
Finish deduplicating homekit_controller enumeration tests ( #64306 )
2022-01-17 10:44:59 -10:00
Jc2k
99481e2258
Refactor homekit_controller tests to reduce duplication. ( #64198 )
2022-01-16 18:43:44 +00:00
Ed Coen
df6fa43bff
Add connectsense to homekit_controller ( #62675 )
2021-12-23 19:05:36 +00:00
J. Nick Koston
ef5e5c3f96
Dismiss existing discoveries when a HomeKit device is paired ( #62632 )
2021-12-22 19:40:36 -10:00
Jc2k
06eec7adfc
Allow adding new devices to an Aqara hub via homekit_controller ( #62600 )
2021-12-22 08:49:58 -10:00
Jc2k
d3d6965ba0
Support setting Aqara Hub Volume via homekit_controller ( #62538 )
2021-12-22 08:43:17 +00:00
Ville Skyttä
c5e6489475
Use DeviceAutomationType in tests/components/[h-l]* ( #62441 )
2021-12-20 22:18:53 +01:00
Dave T
afdc570d70
Use DeviceClass Enums in homekit_controller tests ( #62219 )
2021-12-18 23:56:59 -06:00
J. Nick Koston
11fde22d45
Add hardware version support to homekit controller ( #61743 )
2021-12-16 05:24:18 -06:00
epenet
b70d24394e
Use dataclass properties in homekit_controller tests ( #60891 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-03 08:51:13 +01:00
epenet
cbab0ba9c0
Drop base ATTR constants in zeroconf ( #60561 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 12:29:41 +01:00
Jc2k
b8a1899d48
Remove homekit_controller's air quality entity in favor of separate sensor entities ( #60480 )
2021-11-30 16:14:49 +01:00
epenet
0d24862a28
Use dataclass properties in homekit_controller discovery ( #60626 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 16:06:18 +01:00
epenet
44611d7e26
Use dataclass for ZeroconfServiceInfo ( #60206 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 22:59:36 +01:00
epenet
31b033ac25
Update ZeroconfServiceInfo in tests (g-m) ( #60217 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 09:42:38 -06:00
Jared Hobbs
6d4b74f8f2
Add haa vendor extensions ( #59750 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-11-20 09:22:10 -06:00
epenet
d0ff8a9b76
Add id constant for homekit discovery ( #59986 )
2021-11-20 10:07:59 +00:00
epenet
982f2065c8
Use ZeroconfServiceInfo in homekit_controller ( #59979 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 08:13:56 -06:00
J. Nick Koston
347c4ea137
Bump zeroconf to 0.37.0 ( #59932 )
2021-11-18 20:23:20 -08:00
Paulus Schoutsen
31153ac155
Move fixtures part 1 ( #58902 )
2021-11-01 20:47:05 -07:00
J. Nick Koston
89ae88519d
Add additional test coverage for RYSE smartbridges with HK ( #58746 )
2021-10-31 09:19:37 -05:00
J. Nick Koston
061b1abd1b
Improve handling of invalid serial numbers in HomeKit Controller ( #58723 )
...
Fixes #58719
2021-10-29 17:57:01 -07:00
J. Nick Koston
5581f58aad
Handle accessories without a serial number in homekit_controller ( #58498 )
2021-10-27 06:24:57 -05:00
Erik Montnemery
8341ae12d3
Mock out zeroconf in homekit_controller tests ( #56307 )
2021-09-16 11:29:41 -10:00
Erik Montnemery
7dbd0e5274
Fix zeroconf mock and use it in CI group 1's tests ( #55526 )
...
* Fix zeroconf mock and use it in CI group 1's tests
* Mock HaAsyncServiceBrowser
2021-09-01 22:38:00 +02:00
Jc2k
0065bbc56d
Add volatile organic compounds to homekit_controller ( #55093 )
2021-08-23 20:47:09 +02:00
J. Nick Koston
562212bb5e
Add support for bridge accessory unavailability ( #52207 )
...
Co-authored-by: Jc2k <john.carr@unrouted.co.uk>
2021-08-22 21:20:40 +02:00
Jc2k
ea8061469c
Deprecate homekit_controller's air quality entity in favor of separate sensor entities ( #54673 )
2021-08-17 09:29:52 -05:00
Jc2k
081b2d533b
Add support for Eve Degree's air pressure sensor ( #53891 )
2021-08-03 07:30:50 -05:00
Jc2k
d414b58769
Fix watts unit for homekit_controller power sensors ( #53877 )
2021-08-02 10:47:11 -07:00
Jc2k
73bc62949b
Fix error in homekit_controller causing some entities to get an incorrect unique id ( #53848 )
2021-08-01 20:59:32 -07:00
Jc2k
1681bbe5a5
Make sure that vocolinc flowerbud humidity sensor is exposed (via homekit_controller) ( #53518 )
...
* Make sure that vocolinc flowerbud humidity sensor is exposed
* Was a no-op to request these from humidifier, so remove them
* Fix typo
2021-07-26 16:11:27 -05:00
Jc2k
9a000a1183
Support controlling Flowerbud spray level via homekit_controller ( #53493 )
2021-07-26 10:46:36 -05:00
Jc2k
0db160e372
Handle homekit accessories where the pairing flag is wrong ( #53385 )
2021-07-23 20:03:44 -10:00
Jc2k
91018d0451
Add support for power data from Koogeek SW2 via homekit_controller ( #53378 )
2021-07-23 07:37:18 -10:00
J. Nick Koston
564a505486
Update homekit controller lock to support locking, unlocking, jammed ( #52821 )
2021-07-20 23:55:04 -05:00
Jc2k
5b257d2be8
Fix homebridge devices becoming unavailable frequently ( #52753 )
...
Update to aiohomekit 0.4.3 and make sure service type UUID is normalised before comparison
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-07-08 17:26:25 +01:00
J. Nick Koston
3191fef8d6
Update the ip/port in the homekit_controller config entry when it changes ( #52554 )
2021-07-05 15:16:49 -05:00
Jc2k
7de3e7d1dd
Support setting hvac_mode and temp in same homekit_controller set_temperature service call ( #52195 )
...
* Support setting hvac_mode and temp in same set_temperature service call
* Update homeassistant/components/homekit_controller/climate.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Update homeassistant/components/homekit_controller/climate.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-06-29 11:14:28 +02:00
Jc2k
42c944ce56
Add secondary temperature sensors to homekit_controller ( #52194 )
2021-06-28 23:48:29 +02:00
Jc2k
d75c97cbf3
Revert "Set Fahrenheit reporting precision to tenths for Homekit Controller climate entities ( #50415 )" ( #51698 )
2021-06-10 15:41:42 +01:00
Paulus Schoutsen
ee2c950716
Merge system options into pref properties ( #51347 )
...
* Make system options future proof
* Update tests
* Add types
2021-06-01 22:34:31 +02:00
J. Nick Koston
deb9135707
Handle clamped fan maxValue in homekit_controller ( #51088 )
2021-05-25 16:06:17 -05:00
jjlawren
fe75a1bb9d
Set Fahrenheit reporting precision to tenths for Homekit Controller climate entities ( #50415 )
2021-05-25 19:32:59 +02:00
J. Nick Koston
4b0b0f5db7
Allow user to override insecure setup codes and pair with homekit_controller ( #50986 )
...
* Allow user to override invalid setup codes and pair with homekit_controller
* adjust from manual testing
* invalid -> insecure
2021-05-23 10:15:38 -05:00
J. Nick Koston
e1b6385b4d
Add support for doorbell buttons to homekit_controller ( #50983 )
2021-05-23 08:56:16 -05:00
Ville Skyttä
19d25cd901
Change config entry state to an enum ( #49654 )
...
* Change config entry state to an enum
* Allow but deprecate EntryState str equality comparison
* Test fixes
* Rename to ConfigEntryState
* Remove str comparability backcompat
* Update new occurrences of strs cropped up during review
2021-05-20 19:19:20 +02:00
J. Nick Koston
909a20b36d
Use async zeroconf registration functions ( #50168 )
2021-05-11 11:03:36 -05:00
Franck Nijhof
c68b259bd3
Cleanup of unused connection_class logic ( #49865 )
...
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2021-04-29 23:12:58 +02:00
Ruslan Sayfutdinov
02764c2f46
Disable strict type checks for tests ( #49851 )
2021-04-29 15:57:02 +02:00
Ville Skyttä
153d6e891e
Use config_entries.SOURCE_* constants ( #49631 )
2021-04-25 11:27:40 +02:00
J. Nick Koston
e234fc6e7e
Disconnect homekit_controller devices on the stop event ( #49244 )
2021-04-14 21:47:15 -10:00
Erik Montnemery
b26779a27a
Add id to automation triggers ( #48464 )
2021-03-31 14:56:04 +02:00
J. Nick Koston
7a447c4209
Exclude homekit accessories created by the homekit integration from homekit_controller ( #48201 )
2021-03-21 22:18:24 -07:00
Erik Montnemery
87e7cebd36
Update tests c-h to use registry async_get ( #47652 )
2021-03-09 14:31:17 +01:00
J. Nick Koston
b315fcab11
Fix turn on without speed in homekit controller ( #47597 )
2021-03-08 10:43:22 -08:00
Ville Skyttä
dc880118a4
Lint suppression cleanups ( #47248 )
...
* Unused pylint suppression cleanups
* Remove outdated pylint bug references
* Add flake8-noqa config and note to run it every now and then
* Add codes to noqa's
* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
Paulus Schoutsen
9e07910ab0
Mark entities as unavailable when they are removed but are still registered ( #45528 )
...
* Mark entities as unavailable when they are removed but are still registered
* Add sync_entity_lifecycle to collection helper
* Remove debug print
* Lint
* Fix tests
* Fix tests
* Update zha
* Update zone
* Fix tests
* Update hyperion
* Update rfxtrx
* Fix tests
* Pass force_remove=True from integrations
Co-authored-by: Erik <erik@montnemery.com>
2021-02-08 10:45:46 +01:00
Erik Montnemery
28ef3f68f3
Add media_player device triggers ( #45430 )
...
* Add media player device triggers
* Update tests
2021-02-08 09:36:14 +01:00
J. Nick Koston
ab1d42950a
Update homekit_controller to use new fan entity model ( #45547 )
2021-01-28 11:43:43 +01:00
Jc2k
3b0a440770
Add support for homekit_controller secondary entities like power usage ( #44013 )
2021-01-26 13:45:01 -06:00
Jacob Southard
3364e945aa
Fix HomeKit climate integration for devices with a single set point in Heat_Cool mode. ( #45065 )
...
* Check supported flags in auto mode, and add tests.
* Fix test description.
2021-01-13 15:21:32 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Jc2k
2b6842aee0
Fix velux homekit covers not enumerated correctly ( #44318 )
2020-12-17 17:12:06 +01:00
Jc2k
109ce653c0
Fix how homekit_controller enumerates Hue remote ( #44019 )
2020-12-08 18:01:07 +01:00
Jc2k
6ce45e39d1
Hide HomeKit devices from discovery that are known to be problematic ( #44014 )
2020-12-07 13:51:35 +01:00
Jacob Southard
8b01f681ab
Add target temperature range to homekit_controller ( #42817 )
...
* Add support for temperature range in thermostat.
* Add tests for setting temperature range.
* Update Lennox E30/Ecobee 3 tests to reflect new supported feature
* Add support for thermostate mode specific min/max temp values.
2020-12-06 23:23:08 +00:00
Paulus Schoutsen
b3be708db6
Add default config if not there ( #43321 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-11-25 15:10:04 +01:00
Austin Drummond
d1566bd210
Add HomeKit humidifier/dehumidifier ( #42311 )
...
* add HomeKit humidifier/dehumidifier
* added more test coverage
* simplified char logic
Co-authored-by: Quentame <polletquentin74@me.com>
* use mode constants
* Renamed HomeKit Contorller
Co-authored-by: Quentame <polletquentin74@me.com>
* improved threshold logic
* split up homekit humidifier into 2 entities
* fixed tests
* fixed mode and switch logic
* added set mode tests
* removed redundant methods present in base class
Co-authored-by: Quentame <polletquentin74@me.com>
2020-11-14 17:59:13 +00:00
Jc2k
cc396b9736
Add initial camera support to homekit_controller ( #43100 )
2020-11-14 12:07:22 +00:00
Anders Melchiorsen
650c57db5b
Fix async_track_utc_time_change firing too early ( #42176 )
2020-11-05 16:34:56 +01:00
Paulus Schoutsen
5dac3883b0
Stub light profiles ( #42232 )
2020-10-23 16:28:21 +02:00
springstan
a2c3c33b22
Use core GitHub URL in all files ( #41089 )
2020-10-03 00:04:11 +02:00
J. Nick Koston
46f9c0fb8a
Update phrasing and pin validation for homekit_controller ( #40006 )
2020-09-13 15:26:04 -05:00
J. Nick Koston
84578f515d
Suppress homekit bridge discovery by homekit controller ( #39990 )
2020-09-13 09:12:10 -05:00
Jc2k
988a467afd
Device automation triggers for stateless HomeKit accessories ( #39090 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-09-11 13:34:07 -05:00
RogerSelwyn
162c39258e
Add Carbon Monoxide binary sensor to Homekit Controller ( #39889 )
2020-09-10 12:25:14 +01:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
Yuxiang Zhu
19cc168433
Add HomeKit Controller heater-cooler devices ( #38979 )
...
Some new HomeKit climate devices, like XiaoMi Air Conditioning Controller P3 are heater-cooler devices rather than
thermostat devices. This commit adds support for the heater-cooler class via homekit_controller.
2020-08-25 17:56:01 +01:00
J. Nick Koston
483d09b9c1
Adjust homekit controller pairing to have a new step for each potentially recoverable error ( #38742 )
...
* Adjust homekit controller pairing errors back to a single step
* adjust test
* Revert "Adjust homekit controller pairing errors back to a single step"
This reverts commit e5ed89bbbb
.
* Revert "adjust test"
This reverts commit c2e9f21a8401c144315260f6fdf71ea8060f8ca3.
* adjust
* prune
* prune
* merge
* Update tests
* remove debug
* adjust
* Multiple steps
* adjust the test
2020-08-14 10:34:52 -05:00
J. Nick Koston
9bb7b3b125
Fix homekit_controller pairing retry when the first attempt is busy ( #38605 )
...
* Fix homekit_controller pairing retry
If the device was busy on the first pairing attempt, it
was not possible to retry.
* always restart pairing on recoverable execptions
* move code
* malformed pin is safe to restart
* make busy_error an abort
* switch max retries, simplify tests
* try pairing later
* try pairing later
* merge
* s/tlv_error/protocol_error/g
* Adjust wording
2020-08-09 22:17:13 -05:00
J. Nick Koston
89a9634d35
Use eventloop for scheduling ( #37184 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-06-29 09:39:24 -07:00
Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 ( #34901 )
2020-04-30 13:29:50 -07:00
Jc2k
1b4851f2e0
Remove deprecated homekit_controller credential storage locations ( #34333 )
...
* Remove deprecated homekit_controller credential storage locations
* async_import_legacy_pairing can also be removed
2020-04-20 07:32:30 -04:00
Franck Nijhof
528c7f4871
Removal of extraneous parenthesis in tests ( #33670 )
...
* Removal of extraneous parenthesis
* Process review suggestions
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-04-05 03:50:30 +02:00
Patryk
ad9f4db983
Add leak sensor support to Homekit integration ( #33171 )
...
* Add leak sensor support to Homekit integration
* Add leak entries to binary_sensor/strings.json
* Revert changes from binary_sensor
* Fix
* Review fix
2020-03-24 13:49:01 -07:00
Jc2k
34e44e7f3a
Add support for homekit valve accessories to homekit_controller ( #32937 )
2020-03-18 21:20:40 +00: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
springstan
157f972d72
Use f-strings in integrations starting with "H" - "L" ( #32265 )
...
* Use f-strings in integrations starting with "H"
* Use f-strings in integrations starting with "I"
* Use f-strings in integrations starting with "J"
* Use f-strings in integrations starting with "K"
* Use f-strings in integrations starting with "L"
* Fix lint error
* Use join instead of f-string in homekit_controller
* Use local variables with f-strings
* Fix lint error
* Escape the characters in f-string
* Sort imports with isort in homeworks light
* Fix pylint error
* Fix broken tests
* Fix broken tests v2
2020-02-28 12:39:29 +01:00
Jc2k
d207c37c33
Address homekit_controller feedback on #32212 and #32213 ( #32228 )
2020-02-26 17:10:05 -08:00
Jc2k
853d6cda25
Make homekit_controller a local push integration ( #32213 )
2020-02-26 10:35:53 -08:00
Jc2k
92a47f14bb
homekit_controller test cleanups ( #32212 )
2020-02-26 09:44:04 -08:00
Jc2k
4a89fba6f9
Add homekit_controller occupancy sensor ( #32188 )
2020-02-25 22:01:03 +00:00
Jc2k
dd13e99967
Add missing device class attributes to homekit_controller sensors ( #32175 )
...
* Add some missing device class attributes to homekit_controller sensors
* Add classes for binary sensors
2020-02-25 21:43:14 +01:00
Jc2k
1ddc1ebc6b
Refactor away deprecated homekit_controller test helpers ( #32177 )
2020-02-25 21:19:04 +01:00
Jc2k
c9d78aa78c
Refactor homekit_controller config flow tests ( #32141 )
...
* Config flow test refactor
* Add a service and characteristic to the accessory so its more realistic
* Feedback from review
* Missing apostrophe
2020-02-25 12:06:35 +01: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
Christian Clauss
df7d2b3aeb
Fix typos found by codespell ( #31243 )
...
* Fix typos found by codespell
* Fix typos found by codespell
* codespell: Furture ==> Future
* Update test_config_flow.py
* Update __init__.py
* Spellcheck: successfull ==> successful
* Codespell: unsuccesful ==> unsuccessful
* Codespell: cant ==> can't
* Codespell: firware ==> firmware
* Codespell: mimick ==> mimic
2020-01-31 08:33:00 -08:00
Jc2k
a58c796641
Add support for homekit air quality sensors ( #30510 )
...
* Add air quality sensor
* Fix comment from review
* Fix comment from review
* Lint fix
2020-01-06 16:35:10 +01:00
Jc2k
fffc5a5fbb
Add support for v1 and v2 HomeKit fans. ( #30503 )
...
* Add support for v1 and v2 HomeKit fans.
* Lint fix
2020-01-05 15:56:46 +01:00
Ville Skyttä
5216477353
Be consistent with Home Assistant and Hass.io spelling ( #30500 )
...
* Be consistent with Home Assistant spelling
* Be consistent with Hass.io spelling
2020-01-05 14:09:17 +02:00
Jc2k
fccb13b762
Add homekit_controller service.sensor.smoke ( #30269 )
2019-12-30 08:05:49 +00:00
Jc2k
8a22a38353
Accept homekit_controller pairing codes both with and without dashes ( #30273 )
...
* Handle MalformedPinError from homekit_python
* Handle both formats of pin codes
2019-12-30 07:36:01 +00:00
Jc2k
b41480ae46
Add a config entry mechanism to rediscover a discovery that was ignored ( #30099 )
...
* Mechanism to rediscover a discovery that was ignored
* Add core config entry tests for new rediscover step
* Add tests for homekit_controller implementation of async_step_rediscover
* Rename rediscover to unignore
* Comment the new ignore/unignore mechanisms
2019-12-21 11:22:07 +01:00
Jc2k
c3144eddbb
Set unique id on homekit_controller config entries ( #30035 )
...
* Set unique id on config entries
* Changes from review
2019-12-19 09:45:22 +01:00
Bas Nijholt
776d8cfdc9
Sort imports according to PEP8 for specific_devices ( #29687 )
2019-12-09 11:51:36 +01:00
Bas Nijholt
d2c1e5d45c
Sort imports according to PEP8 for homekit_controller ( #29646 )
2019-12-08 18:14:26 +01:00
springstan
3b5da9c44a
Move imports to top for homekit_controller ( #29564 )
...
* Move imports to top for homekit_controller
* Fix IpPairing mock in two test files
2019-12-08 16:50:57 +00:00
GaryOkie
a9a1c2b91d
Update Homekit climate.py to remap current mode ( #28625 )
...
* Update Homekit climate.py to remap current mode
This update changes the mapping of Homekit's Current Mode Heating/Cooling State to show the HASS Hvac_action attribute as "idle" instead of "off" when the returned value is 0.
* Update climate.py
removed imported constant no longer being used (CURRENT_HVAC_OFF)
* corrected update to climate.py
trying again to remove unused constant.
* Update test_climate.py
* removed "change" comment
The added comment describing the change was not needed and should not be included, as it will already be described via "git annotate" (per @jc2k)
2019-11-12 00:35:09 +01:00
tleegaard
2ffbe5b99f
Inverting states for opening/closing Homekit covers ( #26872 )
...
* Update cover.py
* Update test_cover.py
2019-09-24 21:16:08 -07:00
Jc2k
944b544b2e
Add support for Homekit accessory battery sensors ( #26210 )
...
* Add simple battery sensor
* Add test for battery sensor based on a real device
* Vary icon based on battery state
* Add test for battery sensory
* Read other battery related states from accessory
* Add a device class to the battery sensor
* Respect the low battery flag from the device
2019-08-31 13:18:18 +01:00
Robert Svensson
a2589f56e1
Add system options to config entries ( #25926 )
...
* Add system options to config entries
* For feedback
* Follow most of balloobs comments
* Fix balloobs comments
* Improvements
* Fix second round of Balloobs comments
* Fix third round
* Add system options to mock config entry
* Fix integration tests
* Fix the last failing tests
* Fix disabled string
* Fix failing disabled_by tests
* New tests
* Config entry WS API tests
* Fix comments
2019-08-17 21:34:11 -07:00
Jc2k
34cde21876
Fix for HomeKit controller state not updating after put ( #25903 )
2019-08-13 10:09:55 +02:00
tleegaard
61c6838fa2
Add support for HomeKit CO2 sensors ( #25603 )
2019-08-01 11:24:46 +01:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Jc2k
8c69fd91ff
Only poll HomeKit connection once for all entities on a single bridge/pairing ( #25249 )
...
* Stub for polling from a central location
* Allow connection to know the entity objects attached to it
* Move polling logic to connection
* Don't poll if no characteristics selected
* Loosen coupling between entity and HKDevice
* Disable track_time_interval when removing entry
* Revert self.entities changes
* Use @callback for async_state_changed
* Split out unload and remove and add a test
* Test that entity is gone and fix docstring
2019-07-22 09:22:44 -07:00
David Radcliffe
11c74cd0d7
Add support for contact binary sensors in homekit_controller ( #25355 )
2019-07-22 08:40:55 +01:00
Pascal Vizeli
84cf76ba36
Climate 1.0 ( #23899 )
...
* Climate 1.0 / part 1/2/3
* fix flake
* Lint
* Update Google Assistant
* ambiclimate to climate 1.0 (#24911 )
* Fix Alexa
* Lint
* Migrate zhong_hong
* Migrate tuya
* Migrate honeywell to new climate schema (#24257 )
* Update one
* Fix model climate v2
* Cleanup p4
* Add comfort hold mode
* Fix old code
* Update homeassistant/components/climate/__init__.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* Update homeassistant/components/climate/const.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* First renaming
* Rename operation to hvac for paulus
* Rename hold mode to preset mode
* Cleanup & update comments
* Remove on/off
* Fix supported feature count
* Update services
* Update demo
* Fix tests & use current_hvac
* Update comment
* Fix tests & add typing
* Add more typing
* Update modes
* Fix tests
* Cleanup low/high with range
* Update homematic part 1
* Finish homematic
* Fix lint
* fix hm mapping
* Support simple devices
* convert lcn
* migrate oem
* Fix xs1
* update hive
* update mil
* Update toon
* migrate deconz
* cleanup
* update tesla
* Fix lint
* Fix vera
* Migrate zwave
* Migrate velbus
* Cleanup humity feature
* Cleanup
* Migrate wink
* migrate dyson
* Fix current hvac
* Renaming
* Fix lint
* Migrate tfiac
* migrate tado
* Fix PRESET can be None
* apply PR#23913 from dev
* remove EU component, etc.
* remove EU component, etc.
* ready to test now
* de-linted
* some tweaks
* de-lint
* better handling of edge cases
* delint
* fix set_mode typos
* apply PR#23913 from dev
* remove EU component, etc.
* ready to test now
* de-linted
* some tweaks
* de-lint
* better handling of edge cases
* delint
* fix set_mode typos
* delint, move debug code
* away preset now working
* code tidy-up
* code tidy-up 2
* code tidy-up 3
* address issues #18932 , #15063
* address issues #18932 , #15063 - 2/2
* refactor MODE_AUTO to MODE_HEAT_COOL and use F not C
* add low/high to set_temp
* add low/high to set_temp 2
* add low/high to set_temp - delint
* run HA scripts
* port changes from PR #24402
* manual rebase
* manual rebase 2
* delint
* minor change
* remove SUPPORT_HVAC_ACTION
* Migrate radiotherm
* Convert touchline
* Migrate flexit
* Migrate nuheat
* Migrate maxcube
* Fix names maxcube const
* Migrate proliphix
* Migrate heatmiser
* Migrate fritzbox
* Migrate opentherm_gw
* Migrate venstar
* Migrate daikin
* Migrate modbus
* Fix elif
* Migrate Homematic IP Cloud to climate-1.0 (#24913 )
* hmip climate fix
* Update hvac_mode and preset_mode
* fix lint
* Fix lint
* Migrate generic_thermostat
* Migrate incomfort to new climate schema (#24915 )
* initial commit
* Update climate.py
* Migrate eq3btsmart
* Lint
* cleanup PRESET_MANUAL
* Migrate ecobee
* No conditional features
* KNX: Migrate climate component to new climate platform (#24931 )
* Migrate climate component
* Remove unused code
* Corrected line length
* Lint
* Lint
* fix tests
* Fix value
* Migrate geniushub to new climate schema (#24191 )
* Update one
* Fix model climate v2
* Cleanup p4
* Add comfort hold mode
* Fix old code
* Update homeassistant/components/climate/__init__.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* Update homeassistant/components/climate/const.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* First renaming
* Rename operation to hvac for paulus
* Rename hold mode to preset mode
* Cleanup & update comments
* Remove on/off
* Fix supported feature count
* Update services
* Update demo
* Fix tests & use current_hvac
* Update comment
* Fix tests & add typing
* Add more typing
* Update modes
* Fix tests
* Cleanup low/high with range
* Update homematic part 1
* Finish homematic
* Fix lint
* fix hm mapping
* Support simple devices
* convert lcn
* migrate oem
* Fix xs1
* update hive
* update mil
* Update toon
* migrate deconz
* cleanup
* update tesla
* Fix lint
* Fix vera
* Migrate zwave
* Migrate velbus
* Cleanup humity feature
* Cleanup
* Migrate wink
* migrate dyson
* Fix current hvac
* Renaming
* Fix lint
* Migrate tfiac
* migrate tado
* delinted
* delinted
* use latest client
* clean up mappings
* clean up mappings
* add duration to set_temperature
* add duration to set_temperature
* manual rebase
* tweak
* fix regression
* small fix
* fix rebase mixup
* address comments
* finish refactor
* fix regression
* tweak type hints
* delint
* manual rebase
* WIP: Fixes for honeywell migration to climate-1.0 (#24938 )
* add type hints
* code tidy-up
* Fixes for incomfort migration to climate-1.0 (#24936 )
* delint type hints
* no async unless await
* revert: no async unless await
* revert: no async unless await 2
* delint
* fix typo
* Fix homekit_controller on climate-1.0 (#24948 )
* Fix tests on climate-1.0 branch
* As part of climate-1.0, make state return the heating-cooling.current characteristic
* Fixes from review
* lint
* Fix imports
* Migrate stibel_eltron
* Fix lint
* Migrate coolmaster to climate 1.0 (#24967 )
* Migrate coolmaster to climate 1.0
* fix lint errors
* More lint fixes
* Fix demo to work with UI
* Migrate spider
* Demo update
* Updated frontend to 20190705.0
* Fix boost mode (#24980 )
* Prepare Netatmo for climate 1.0 (#24973 )
* Migration Netatmo
* Address comments
* Update climate.py
* Migrate ephember
* Migrate Sensibo
* Implemented review comments (#24942 )
* Migrate ESPHome
* Migrate MQTT
* Migrate Nest
* Migrate melissa
* Initial/partial migration of ST
* Migrate ST
* Remove Away mode (#24995 )
* Migrate evohome, cache access tokens (#24491 )
* add water_heater, add storage - initial commit
* add water_heater, add storage - initial commit
delint
add missing code
desiderata
update honeywell client library & CODEOWNER
add auth_tokens code, refactor & delint
refactor for broker
delint
* Add Broker, Water Heater & Refactor
add missing code
desiderata
* update honeywell client library & CODEOWNER
add auth_tokens code, refactor & delint
refactor for broker
* bugfix - loc_idx may not be 0
more refactor - ensure pure async
more refactoring
appears all r/o attributes are working
tweak precsion, DHW & delint
remove unused code
remove unused code 2
remove unused code, refactor _save_auth_tokens()
* support RoundThermostat
bugfix opmode, switch to util.dt, add until=1h
revert breaking change
* store at_expires as naive UTC
remove debug code
delint
tidy up exception handling
delint
add water_heater, add storage - initial commit
delint
add missing code
desiderata
update honeywell client library & CODEOWNER
add auth_tokens code, refactor & delint
refactor for broker
add water_heater, add storage - initial commit
delint
add missing code
desiderata
update honeywell client library & CODEOWNER
add auth_tokens code, refactor & delint
refactor for broker
delint
bugfix - loc_idx may not be 0
more refactor - ensure pure async
more refactoring
appears all r/o attributes are working
tweak precsion, DHW & delint
remove unused code
remove unused code 2
remove unused code, refactor _save_auth_tokens()
support RoundThermostat
bugfix opmode, switch to util.dt, add until=1h
revert breaking change
store at_expires as naive UTC
remove debug code
delint
tidy up exception handling
delint
* update CODEOWNERS
* fix regression
* fix requirements
* migrate to climate-1.0
* tweaking
* de-lint
* TCS working? & delint
* tweaking
* TCS code finalised
* remove available() logic
* refactor _switchpoints()
* tidy up switchpoint code
* tweak
* teaking device_state_attributes
* some refactoring
* move PRESET_CUSTOM back to evohome
* move CONF_ACCESS_TOKEN_EXPIRES CONF_REFRESH_TOKEN back to evohome
* refactor SP code and dt conversion
* delinted
* delinted
* remove water_heater
* fix regression
* Migrate homekit
* Cleanup away mode
* Fix tests
* add helpers
* fix tests melissa
* Fix nehueat
* fix zwave
* add more tests
* fix deconz
* Fix climate test emulate_hue
* fix tests
* fix dyson tests
* fix demo with new layout
* fix honeywell
* Switch homekit_controller to use HVAC_MODE_HEAT_COOL instead of HVAC_MODE_AUTO (#25009 )
* Lint
* PyLint
* Pylint
* fix fritzbox tests
* Fix google
* Fix all tests
* Fix lint
* Fix auto for homekit like controler
* Fix lint
* fix lint
2019-07-08 14:00:24 +02:00
Penny Wood
84e6813779
Rename via_hub to via_device ( #24360 )
...
* Rename via_hub to via_device
* Fixed registry interactions
2019-06-10 09:10:44 -07:00
Paulus Schoutsen
0dc0706eb2
Add more HomeKit models for discovery ( #24391 )
...
* Add more HomeKit models for discovery
* Discover Tradfri with HomeKit
* Add Wemo device info
* Allow full match for HomeKit model
* Fix tests
2019-06-07 22:59:51 -07:00
Jc2k
9303a56d8f
Fix duplicated discovered homekit devices ( #24178 )
2019-05-29 15:49:59 -07:00
Robert Svensson
42ee8eef50
Move Homekit controller component to user zeroconf discovery ( #24042 )
2019-05-29 11:20:04 -07:00
Jc2k
5b0d1415ad
Have homekit_controller use device registry ( #23874 )
...
* Add device registry support
* HK doesn't use mac as a connection id
2019-05-17 08:41:20 +02:00
Jc2k
692eeb3687
Fix ecobee 3 homekit pairing ( #23882 )
2019-05-16 14:32:13 +02: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
Jc2k
0fe21f2015
Support STATE_AUTO in homekit_controller climate ( #23583 )
2019-05-01 22:44:54 -05:00
Jc2k
7ff77936ad
Add and improve Homekit controller pairing messages and errors ( #23532 )
...
* Be clear about pairing code format
* Handle more homekit errors while pairing
* Update en translation
* Fix log message feedback
2019-05-01 17:02:29 -06:00
Jc2k
1c4367e5a9
Fix min/max temp and humidity for homekit_controller climate ( #23421 )
...
* Fix min/max temp and humidity for homekit_controller climate.
* Fix typo
2019-05-01 00:08:30 +02:00