Commit Graph

51999 Commits (a499dfb8ff4eabe00aa06d2e9c5668f913f97cb8)

Author SHA1 Message Date
Aaron Bach a499dfb8ff
Fix AssertionError in RainMachine (#75668) 2022-07-23 20:06:10 -06:00
J. Nick Koston da131beced
Split bluetooth coordinator into two classes (#75675) 2022-07-23 19:33:47 -05:00
GitHub Action 19f82e5201 [ci skip] Translation update 2022-07-24 00:28:19 +00: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
J. Nick Koston c5afaa2e6a
Refactor PassiveBluetoothDataUpdateCoordinator to support multiple platforms (#75642) 2022-07-23 13:03:01 -05:00
J. Nick Koston 8300d5b89e
Add bluetooth connection constant to the device registry (#75666) 2022-07-23 19:59:35 +02:00
J. Nick Koston 240bbfa080
Retry later if bluetooth fails to start (#75647) 2022-07-23 12:00:34 -05:00
Joakim Sørensen 2951a941b6
Import correct scan interval in traccar (#75660) 2022-07-23 18:44:58 +02:00
J. Nick Koston 759add5184
Add state class to HKC sensors (#75662) 2022-07-23 11:14:06 -05:00
Franck Nijhof 8d6247446b
Automatically set up Bluetooth during onboarding (#75658) 2022-07-23 10:47:12 -05:00
uvjustin b71e3397fd
Add error message for duplicate stream recordings (#75654) 2022-07-23 08:40:45 -07:00
James 5c234a3504
Use CO Device Class Instead of Gas in zwave_js (#75649)
Use CO Device Class Instead of Gas

Switches the carbon monoxide sensor from `Gas` to `CO`
2022-07-23 13:24:34 +02:00
Jelte Zeilstra 5e10716dd8
Do not access hass.data in unifi test (#75348)
* Do not access hass.data in test

* Process review feedback
2022-07-23 12:42:43 +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
GitHub Action 8e86124470 [ci skip] Translation update 2022-07-23 00:25:17 +00:00
J. Nick Koston 326e05dcf1
Fix async_get_scanner to return the correct bluetooth scanner (#75637) 2022-07-22 18:12:08 -05:00
Maciej Bieniek cb543a21b3
Address NextDNS late review (#75635)
* Init instance attributes

* Remove condition

* Improve typing in tests

* Suggested change
2022-07-23 00:58:48 +02: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 6bb51782fa
Add missing config flow tests for sensorpush (#75629)
* Add missing config flow tests for sensorpush

* merge correct commits from integration
2022-07-23 00:45:22 +02:00
J. Nick Koston 88b9a51811
Fix inkbird config flow tests to correctly test discovery and user flow (#75638)
* Fix inkbird config flow tests to correctly test discovery and user flow

* Fix inkbird config flow tests to correctly test discovery and user flow
2022-07-23 00:43:13 +02:00
Maciej Bieniek 5b555066ea
Add new NextDNS sensors (#74789) 2022-07-23 00:18:22 +02:00
J. Nick Koston 19db6ecf6d
Add missing inkbird config flow tests (#75630) 2022-07-22 23:02:15 +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
J. Nick Koston 20b6c4c48e
Fix recorder hanging at start (#75627) 2022-07-22 12:37:25 -05:00
Martin Hjelmare c05905ebda
Remove callback decorator from coroutine functions (#75626)
* Remove callback decorator from coroutine functions

* Remove some more callback decorators
2022-07-22 19:09:02 +02:00
Diogo F. Andrade Murteira 148f963510
Add Switchbot hygrometers (#75325)
* Switchbot add support for hygrometers

* Update CODEOWNERS

* Improve debug

* Remove redundant mention to temp unit

* Adopt FlowResultType

* Modify SwitchBot data within coordinator

* Increase logging for switchbot sensor

* Revert "Increase logging for switchbot sensor"

This reverts commit d8b377429c.

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-07-22 11:03:02 -05:00
Marc Mueller e9697872c8
Fix small homekit type error (#75617) 2022-07-22 09:02:10 -05:00
Erik Montnemery fd6ffef52f
Support non-live database migration (#72433)
* Support non-live database migration

* Tweak startup order, add test

* Address review comments

* Fix typo

* Clarify comment about promoting dependencies

* Tweak

* Fix merge mistake

* Fix some tests

* Fix additional test

* Fix additional test

* Adjust tests

* Improve test coverage
2022-07-22 15:11:34 +02:00
Erik Montnemery 9d0a252ca7
Improve handling of MQTT config entry data (#72691)
* Improve handling of MQTT config entry data

* Add test

* Add warning

* Adjust tests
2022-07-22 13:36:43 +02:00
Erik Montnemery 606d544157
Use recorder get_instance function to improve typing (#75567) 2022-07-22 11:58:26 +02:00
G Johansson 06c8eb0304
Migrate SMHI to new entity naming style (#75213) 2022-07-22 11:57:36 +02:00
Aaron Bach 630c28d253
Fix incorrect battery unit on paired Guardian sensors (#75402) 2022-07-22 11:24:07 +02:00
Erik Montnemery f0eea62c1e
Address some MQTT review comments (#75482) 2022-07-22 11:12:00 +02:00
Thijs W dddd4e24e2
Bump afsapi to 0.2.7 (#75579) 2022-07-22 11:11:31 +02:00
uvjustin a612d7a0f3
Round up for stream record lookback (#75580) 2022-07-22 11:46:00 +08:00
J. Nick Koston 06115bcbff
Add inkbird (BLE) integration (#75594) 2022-07-21 22:17:09 -05:00
Aaron Bach b0261dd2eb
Modify Guardian to store a single dataclass in `hass.data` (#75454)
* Modify Guardian to store a single dataclass in `hass.data`

* Clarity is better

* Allow entry unload to cancel task
2022-07-21 20:32:42 -06:00
J. Nick Koston 67e16d77e8
Add SensorPush BLE integration (#75531) 2022-07-21 20:31:23 -05:00
GitHub Action 36138afb93 [ci skip] Translation update 2022-07-22 00:29:27 +00:00
J. Nick Koston 90ca3fe350
Improve availability tracking and coordinator setup in bluetooth (#75582) 2022-07-21 19:16:45 -05:00
TheJulianJES 975378ba44
Add ZHA config option for "enhanced light transition from an off-state" (#75151)
* Add ZHA config option for "enhanced light transition from an off-state"

* Default option to disabled

* Always disable "enhanced light transition" for ZHA LightGroups

* Rename _enhanced_light_transition to _zha_config_enhanced_light_transition

* Remove LightGroup check, as config option always disables for groups

* Remove duplicated line

* Remove duplicated line

* Move ZHA config transition line below other config line

* Renamed comments of renamed variable in tests
color_provided_while_off -> new_color_provided_while_off

* Enable "enhanced light transitions" for testing
2022-07-21 19:46:16 -04:00
David F. Mulcahey 04c6b9c519
ZHA light entity cleanup (#75573)
* use base class attributes

* initial hue and saturation support

* spec is 65536 not 65535

* fixes

* enhanced current hue

* fix comparison

* clean up

* fix channel test

* oops

* report enhanced current hue
2022-07-21 17:54:50 -04:00
J. Nick Koston 6cb1794720
Bump aiohomekit to 1.1.9 (#75591) 2022-07-21 15:58:45 -05:00
Maciej Bieniek 05b463b282
Migrate AccuWeather to new entity naming style (#75127)
* Use new entity naming style

* Move AccuWeatherSensorDescription and SENSOR consts to sensor platform

* Remove duplicate code

* Suggested change

* Format url
2022-07-21 18:38:59 +02:00
J. Nick Koston f3c4bf571b
Raise on bad update data instead of log in PassiveBluetoothDataUpdateCoordinator (#75536) 2022-07-21 09:44:53 -05:00
Franck Nijhof 8523c66bb5
Deprecate U.S. Citizenship and Immigration Services (USCIS) integration (#75562) 2022-07-21 13:56:55 +02:00
Marc Mueller b1ed1543c8
Improve http decorator typing (#75541) 2022-07-21 13:07:42 +02:00
Thibault Cohen 1d7d2875e1
Add websocket command recorder/import_statistics (#73937)
* Expose ws_add_external_statistics in websocket API

* Refactor

* Add tests

* Improve test coverage

Co-authored-by: Thibault Cohen <titilambert@users.noreply.github.com>
Co-authored-by: Erik <erik@montnemery.com>
2022-07-21 12:36:49 +02:00
Bram Kragten 41f6383957
Update icons for breaking changes in MDI 7.0.96 (#75560) 2022-07-21 12:24:29 +02:00