Commit graph

9751 commits

Author SHA1 Message Date
Aaron Bach
2d4bd4d7c1
Revert SimpliSafe auth flow to the quasi-manual OAuth method from 2021.11.0 (#75641)
* Revert "Migrate SimpliSafe to new web-based authentication (#57212)"

This reverts commit bf7c99c1f8.

* Tests 100%

* Version bump

* Add manifest version for custom component testing

* Remove manifest version

* Code review

* Fix tests
2022-07-24 22:09:02 +02:00
Jc2k
e18819c678
Support for encrypted BLE MiBeacon devices (#75677)
* Support for encrypted devices

* Sensor should use bindkey if available

* Error message if encryption fails

* Let mypy know this is always set by now

* Towards supporting encryption in step_user

* Add tests for the 4 new happy paths

* Add test coverage for failure cases

* Add strings

* Bump to 0.5.1. Legacy MiBeacon does not use an authentication token, so harder to detect incorrect key

* Add _title() helper

* Fix test after rebase

* Update homeassistant/components/xiaomi_ble/strings.json

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Remove unused lines

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-07-24 21:00:56 +02:00
starkillerOG
f94a79b409
Bump motionblinds to 0.6.11 (#75581) 2022-07-24 20:59:25 +02:00
J. Nick Koston
0df08b6b0c
Bump aiohomekit to 1.2.0 (#75686) 2022-07-24 20:12:16 +02:00
J. Nick Koston
198167a2c8
Update switchbot to be local push (#75645)
* Update switchbot to be local push

* fixes

* fixes

* fixes

* fixes

* adjust

* cover is not assumed anymore

* cleanups

* adjust

* adjust

* add missing cover

* import compat

* fixes

* uses lower

* uses lower

* bleak users upper case addresses

* fixes

* bump

* keep conf_mac and deprecated options for rollback

* reuse coordinator

* adjust

* move around

* move around

* move around

* move around

* refactor fixes

* compat with DataUpdateCoordinator

* fix available

* Update homeassistant/components/bluetooth/passive_update_processor.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/bluetooth/passive_update_coordinator.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/bluetooth/update_coordinator.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Split bluetooth coordinator into PassiveBluetoothDataUpdateCoordinator and PassiveBluetoothProcessorCoordinator

The PassiveBluetoothDataUpdateCoordinator is now used to replace instances
of DataUpdateCoordinator where the data is coming from bluetooth
advertisements, and the integration may also mix in active updates

The PassiveBluetoothProcessorCoordinator is used for integrations that
want to process each bluetooth advertisement with multiple processors
which can be dispatched to individual platforms or areas or the integration
as it chooes

* change connections

* reduce code churn to reduce review overhead

* reduce code churn to reduce review overhead

* Update homeassistant/components/bluetooth/passive_update_coordinator.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* add basic test

* add basic test

* complete coverage

* Update homeassistant/components/switchbot/coordinator.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/switchbot/coordinator.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/switchbot/__init__.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/switchbot/__init__.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* lint

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-07-24 11:38:45 -05:00
mvn23
79be87f9ce
Update pyotgw to 2.0.1 (#75663) 2022-07-24 10:48:22 +02:00
J. Nick Koston
ba71a3c24d
Add Govee BLE integration (#75631)
* Add Govee BLE integration

* add missing files

* remove test file not needed yet

* fix

* add bbq sensors

* fixed lib

* bump again to fix the names

* fix discovery of the newer bbq devices

* fix the test to test the right thing

* verify no outstanding flows

* only accept entities that match the platform

* refactor

* refactor

* refactor

* Refactor PassiveBluetoothDataUpdateCoordinator to support multiple platforms

* cover

* Update for new model

* Update for new model

* Update tests/components/govee_ble/test_sensor.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* purge dead code

* backmerge from integration

* Update docstring

* Update docstring

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-07-24 10:39:23 +02:00
J. Nick Koston
82c92b5634
Add Moat (BLE) integration (#75643)
* Add Moat (BLE) integration

* fix pin

* resync

* Update tests/components/moat/test_sensor.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/moat/sensor.py

* backmerge from integration

* purge dead code

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-07-24 09:51:14 +02:00
On Freund
7cf2d1759d
Upgrade pyrisco to 0.5.0 (#75648)
* Upgrade to pyrisco 0.4.0

* Parametrized error tests in config flow

* Inline error parameters

* Switch to RiscoCloud
2022-07-23 23:44:48 +02:00
Jc2k
b60a59270c
Add support for rest of sensors for HHCCJCY01 (#75646) 2022-07-23 09:40:56 +01:00
J. Nick Koston
edaebcd85d
Pass in the bleak scanner instance to HKC (#75636) 2022-07-23 02:47:02 -05:00
Jc2k
402e533fef
Initial xiaomi_ble integration (#75618)
* Initial xiaomi_ble integration

* black

* Update homeassistant/components/xiaomi_ble/config_flow.py

Co-authored-by: Ernst Klamer <e.klamer@gmail.com>

* Update homeassistant/components/xiaomi_ble/config_flow.py

Co-authored-by: Ernst Klamer <e.klamer@gmail.com>

* Apply suggestions from code review

Co-authored-by: Ernst Klamer <e.klamer@gmail.com>

* Update tests/components/xiaomi_ble/test_config_flow.py

Co-authored-by: Ernst Klamer <e.klamer@gmail.com>

* Update homeassistant/components/xiaomi_ble/sensor.py

Co-authored-by: Ernst Klamer <e.klamer@gmail.com>

* Update tests/components/xiaomi_ble/test_config_flow.py

Co-authored-by: Ernst Klamer <e.klamer@gmail.com>

* Remove debug code

* Need 'proper' MAC when running tests on linux

* Need to use proper MAC so validation passes

* Add tests for already_in_progress and already_configured

* copy test, add session fixture

* fix test

Co-authored-by: Ernst Klamer <e.klamer@gmail.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-07-23 00:55:06 +02:00
J. Nick Koston
38bccadaa6
Add support for setting up and removing bluetooth in the UI (#75600)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-07-22 13:19:53 -05:00
Aaron Bach
630c28d253
Fix incorrect battery unit on paired Guardian sensors (#75402) 2022-07-22 11:24:07 +02:00
Thijs W
dddd4e24e2
Bump afsapi to 0.2.7 (#75579) 2022-07-22 11:11:31 +02:00
J. Nick Koston
06115bcbff
Add inkbird (BLE) integration (#75594) 2022-07-21 22:17:09 -05:00
J. Nick Koston
67e16d77e8
Add SensorPush BLE integration (#75531) 2022-07-21 20:31:23 -05:00
J. Nick Koston
6cb1794720
Bump aiohomekit to 1.1.9 (#75591) 2022-07-21 15:58:45 -05:00
Brandon Rothweiler
46551a50ef
Bump pymazda to 0.3.7 (#75546) 2022-07-21 09:04:04 +02:00
Shay Levy
079460d2dd
Bump aioshelly to 2.0.1 (#75523) 2022-07-20 21:11:05 +02:00
Pascal Winters
95e07508e5
Bump pySwitchbot to 0.14.1 (#75487) 2022-07-20 12:57:00 +02:00
Franck Nijhof
93425b0e4d
Migrate Plugwise to new entity naming style (#75109) 2022-07-20 11:38:00 +02:00
Raman Gupta
8c7e329754
Bump pytomorrowio to 0.3.4 (#75478) 2022-07-20 09:15:36 +02:00
Teemu R
e4f6f738e8
Bump python-miio to 0.5.12 (#75415)
* Bump python-miio to 0.5.12

* Fix imports
2022-07-19 18:56:41 +02:00
J. Nick Koston
b37f15b1d5
Update bluetooth_le_tracker to use Bleak (#75013)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-07-18 19:16:24 -05:00
J. Nick Koston
1354952977
Migrate LIFX to config entry per device (#74316) 2022-07-18 17:56:34 -05:00
mkmer
983bcfa935
Bump AIOAladdinConnect to 0.1.27 (#75400) 2022-07-18 23:41:06 +02:00
Franck Nijhof
e75d7dfb75
Update google-cloud-texttospeech to 2.12.0 (#75401) 2022-07-18 23:34:53 +02:00
J. Nick Koston
8b912d1d91
Significantly improve BLE reliablity with linux/dbus for HKC (#75410) 2022-07-18 15:28:14 -05:00
Nick Whyte
11f80762ea
Upgrade ness_alarm dependencies (#75298)
* Upgrade ness alarm dependencies to fix #74571

* Update requirements
2022-07-18 12:17:25 +02:00
Matrix
943e0b9cf7
Yolink feature garage door (#75120) 2022-07-18 11:40:18 +02:00
J. Nick Koston
e522b6e3b8
Bump aiohomekit to 1.1.7 (#75384)
BLEDevice is now passed around instead of the address
internally to avoid bleak creating a new scanner each
time a client needs to resolve the address to os details
2022-07-18 07:36:01 +01: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
hahn-th
d8f3044ffa
Bump homematicip 1.0.5 (#75334) 2022-07-17 14:30:43 +02:00
mvn23
4ceda65889
Update pyotgw to 2.0.0 (#75285)
* Update pyotgw to 2.0.0

* Include updated tests
2022-07-16 22:26:22 +02:00
Aaron Bach
08d6487997
Handle (and better log) more AirVisual cloud API errors (#75332) 2022-07-16 14:04:44 -06:00
Franck Nijhof
cb12f77e33
Update sentry-sdk to 1.7.2 (#75331) 2022-07-16 22:00:58 +02:00
Robert Svensson
ae4b1967a3
Use pydeconz interface controls for lights (#75261) 2022-07-16 20:56:48 +02:00
J. Nick Koston
b9c8d65940
Restore accessory state into pairing using new HKC methods (#75276) 2022-07-16 12:49:15 -05:00
rikroe
c52d4c64bf
Bump bimmer_connected to 0.10.1 (#75287)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-07-16 16:57:17 +02:00
Aaron Bach
952c90efcd
Bump simplisafe-python to 2022.07.0 (#75294) 2022-07-16 16:45:09 +02:00
clayton craft
1ce4714722
Bump venstarcolortouch to 0.18 (#75237)
venstarcolortouch: bump to 0.18
2022-07-16 00:38:06 +02:00
Franck Nijhof
3f3ed3a2c5
Add multi-factor authentication support to Verisure (#75113)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-07-15 10:52:40 +02:00
Nathan Spencer
2dde3d02cc
Bump pylitterbot to 2022.7.0 (#75241) 2022-07-14 21:29:11 -07:00
mkmer
98807f7efc
Bump AIOAladdinConnect to 0.1.25 (#75235)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-07-14 21:28:00 -07:00
Zack Barett
ea6bb370a6
Bump frontend to 20220707.1 (#75232) 2022-07-15 01:12:48 +02:00
Robert Svensson
4a3d047dff
Use pydeconz interface controls for fans (#75156) 2022-07-14 23:53:09 +02: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
Franck Nijhof
fef1b842ce
Update wled to 0.14.1 (#75174) 2022-07-14 13:04:46 -07:00