Commit Graph

241 Commits (4eee6267703c9287c893a58c2a2354cb56fc17a4)

Author SHA1 Message Date
epenet a102883eff
Add type hints to integration tests (part 2) (#88493) 2023-02-21 09:25:05 +01:00
dcmeglio da046f93f4
Add additional characteristics for Airversa Homekit Air Purifiers (#85660) 2023-02-17 15:55:31 +00:00
Jc2k f5a05c1bd2
Support HomeKit Controller Thread Provisioning (#87809) 2023-02-15 16:41:07 +00:00
Franck Nijhof ed79265843
Enable Ruff PT006 (#88165)
* Enable Ruff PT006

* Adjust existing cases

* Fix tests

* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenet 1e352b60df
Add type hints to integration tests (part 11) (#87996) 2023-02-13 14:22:49 +01:00
epenet 03710e58b5
Add type hints to integration tests (part 9) (#87983) 2023-02-13 12:06:51 +01:00
Erik Montnemery cc564026fa
Move EntityCategory to homeassistant.const (#87792)
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
Franck Nijhof 330e1c6cbb
Clean up unnecessary registry mocks from integration tests (#87763) 2023-02-09 10:43:45 +01:00
epenet 37a2040d7b
Add type hints to integration tests (h-i) (#87703) 2023-02-08 18:12:56 +01:00
Jc2k d829a2045a
Fix incorrect unique_id for BLE HomeKit devices (#87550) 2023-02-07 19:10:51 -06:00
epenet 4142f0d15d
Add return type to tests without arguments (#87613)
* Add return type to tests without arguments

* Black

* Cancel fixture amends
2023-02-07 14:20:06 +01:00
Franck Nijhof ca1a12898c
Enable Ruff D212 (#87347) 2023-02-03 23:08:48 +01:00
epenet a79be493e5
Adjust hass_client type hint in integration tests (#86954)
* Adjust hass_client type hint in integration tests

* Adjust hass_client_no_auth

* Fix rebase
2023-02-02 16:29:57 -05:00
Franck Nijhof 89c0b27b42
Migrates tests to use UnitOfPressure enum (#86785) 2023-01-27 12:13:27 +01:00
Franck Nijhof fca3382d37
Migrates tests to use MediaPlayerEntityFeature enum (#86779) 2023-01-27 10:56:40 +01:00
epenet 30bf0634fe
Add per-file-ignore to pylint (#86289) 2023-01-22 17:26:24 +01:00
J. Nick Koston d51f483855
Fix failing HomeKit Controller diagnostics tests (#84936) 2022-12-31 21:38:34 -10:00
Franck Nijhof a4a80f367b
Use enum sensor device class in HomeKit Controller (#83109) 2022-12-02 14:50:01 +01:00
J. Nick Koston 05f89efd2c
Fix homekit controller triggers not attaching when integration is setup after startup (#82717)
fixes https://github.com/home-assistant/core/issues/78852
2022-11-26 09:19:06 -10:00
J. Nick Koston 7df711f1f3
Show HomeKit Controller unhandled pairing error reason in the UI (#82505) 2022-11-21 21:24:35 -05:00
J. Nick Koston 1ded3ac51e
Poll HomeKit Controller locks for state after lock operation (#82058) 2022-11-14 10:54:28 -06:00
Jc2k 9de4d7cba3
Fix homekit_controller climate entity not becoming active when changing modes (#81868) 2022-11-09 15:27:36 +00:00
Jc2k eb76f9b3cb
Set the correct state class for Eve Energy in homekit_controller (#81255) 2022-10-30 10:32:19 -05:00
Jc2k 4279d73800
Add support for Netatmo noise sensor to homekit_controller (#80889)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-10-24 10:31:26 -05:00
J. Nick Koston f23b1750e8
Migrate HomeKit Controller to use stable identifiers (#80064) 2022-10-11 11:26:03 -10:00
Jc2k 117c12d135
Fix Eve Thermo always showing as heating in homekit_controller even when off (#80019) 2022-10-10 08:58:20 -10:00
Erik Montnemery 47d0598e75
Use Kelvin as the preferred color temperature unit (#79591)
* Use Kelvin as the preferred white temperature unit

* Update homekit

* Adjust tests
2022-10-06 12:22:39 +02:00
J. Nick Koston 92612c9fe3
Add RSSI sensor to HomeKit Controller (#78906) 2022-09-25 21:31:56 -04:00
J. Nick Koston 917cf674de
Handle battery services that only report low battery in HomeKit Controller (#79072) 2022-09-25 12:08:28 -10:00
epenet 0d696b84b2
Cleanup root component imports in tests (#78893) 2022-09-21 06:57:41 -10:00
epenet 0ac581a0b1
Cleanup EntityFeature in tests (#78859) 2022-09-21 10:48:55 +02:00
epenet 7bc2712142
Adjust root-import in tests (#78761)
* Adjust root-import in tests

* Adjust diagnostics

* Adjust button

* Adjust select

* Adjust device_tracker

* Adjust camera

* Adjust humidifier

* Adjust media_source

* Adjust update

* Adjust siren

* Adjust number

* Adjust alarm_control_panel

* Adjust notify

* Adjust sensor

* Adjust switch

* Revert anthemav

* Don't adjust demo humidifier
2022-09-19 15:22:23 +02:00
epenet 38548b0986
Adjust homekit-controller test imports (#78731) 2022-09-19 09:53:56 +02: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
Jc2k eb0828efdb
Dont rely on config flow to monitor homekit_controller c# changes (#76861) 2022-08-20 10:58:59 -10:00
Jc2k a663445f25
Bump aiohomekit to 1.3.0 (#76841) 2022-08-16 10:34:17 +01:00
J. Nick Koston ad361b8fc2
Fix pairing with HK accessories that do not provide format for vendor chars (#76502) 2022-08-09 09:48:48 -10:00
J. Nick Koston 33b194e48d
Switch a few recent merges to use FlowResultType (#76416) 2022-08-07 10:01:32 -10:00
J. Nick Koston 63b454c9ed
BLE pairing reliablity fixes for HomeKit Controller (#76199)
- Remove the cached map from memory when unpairing so
  we do not reuse it again if they unpair/repair

- Fixes for accessories that use a config number of
  0

- General reliablity improvements to the pairing process
  under the hood of aiohomekit
2022-08-04 16:38:55 +01:00
Jc2k aa3097a3be
Add a Thread network status sensor to homekit_controller (#76209) 2022-08-04 11:55:29 +01:00
Jc2k d5695a2d86
Fix some homekit_controller pylint warnings and (local only) test failures (#76122) 2022-08-04 11:30:37 +01:00
Jc2k 72a0ca4871
Add homekit_controller thread node capabilties diagnostic sensor (#76120) 2022-08-03 22:03:10 +01:00
Jc2k 0167875789
Add physical controls lock to homekit_controller (#75993) 2022-07-31 13:30:29 -07:00
J. Nick Koston 5cb4bbd906
Fix min and max mireds with HKC (#75744) 2022-07-26 04:17:28 -10:00
J. Nick Koston 759add5184
Add state class to HKC sensors (#75662) 2022-07-23 11:14:06 -05:00
J. Nick Koston edaebcd85d
Pass in the bleak scanner instance to HKC (#75636) 2022-07-23 02:47:02 -05:00
J. Nick Koston a8bb00f305
Fix availability in HKC for sleeping bluetooth devices (#75357) 2022-07-17 17:45:04 -05:00
J. Nick Koston 8d63f81821
Add bluetooth discovery to HomeKit Controller (#75333)
Co-authored-by: Jc2k <john.carr@unrouted.co.uk>
2022-07-17 08:19:05 -05:00
J. Nick Koston b9c8d65940
Restore accessory state into pairing using new HKC methods (#75276) 2022-07-16 12:49:15 -05:00
Jc2k ff297cb902
Bump aiohomekit to 1.0.0 (#75198)
* Bump to 1.0.0rc1

* 1.0.0rc2

* fix one of the tests

* simplify test

* 1.0.0

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-07-14 16:51:48 -05:00