Commit graph

52293 commits

Author SHA1 Message Date
J. Nick Koston
326e05dcf1
Fix async_get_scanner to return the correct bluetooth scanner () 2022-07-22 18:12:08 -05:00
Maciej Bieniek
cb543a21b3
Address NextDNS late review ()
* 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 ()
* 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 ()
* 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 ()
* 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 () 2022-07-23 00:18:22 +02:00
J. Nick Koston
19db6ecf6d
Add missing inkbird config flow tests () 2022-07-22 23:02:15 +02:00
J. Nick Koston
38bccadaa6
Add support for setting up and removing bluetooth in the UI ()
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 () 2022-07-22 12:37:25 -05:00
Martin Hjelmare
c05905ebda
Remove callback decorator from coroutine functions ()
* 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 ()
* 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 () 2022-07-22 09:02:10 -05:00
Erik Montnemery
fd6ffef52f
Support non-live database migration ()
* 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 ()
* 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 () 2022-07-22 11:58:26 +02:00
G Johansson
06c8eb0304
Migrate SMHI to new entity naming style () 2022-07-22 11:57:36 +02:00
Aaron Bach
630c28d253
Fix incorrect battery unit on paired Guardian sensors () 2022-07-22 11:24:07 +02:00
Erik Montnemery
f0eea62c1e
Address some MQTT review comments () 2022-07-22 11:12:00 +02:00
Thijs W
dddd4e24e2
Bump afsapi to 0.2.7 () 2022-07-22 11:11:31 +02:00
uvjustin
a612d7a0f3
Round up for stream record lookback () 2022-07-22 11:46:00 +08:00
J. Nick Koston
06115bcbff
Add inkbird (BLE) integration () 2022-07-21 22:17:09 -05:00
Aaron Bach
b0261dd2eb
Modify Guardian to store a single dataclass in hass.data ()
* 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 () 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 () 2022-07-21 19:16:45 -05:00
TheJulianJES
975378ba44
Add ZHA config option for "enhanced light transition from an off-state" ()
* 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 ()
* 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 () 2022-07-21 15:58:45 -05:00
Maciej Bieniek
05b463b282
Migrate AccuWeather to new entity naming style ()
* 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 () 2022-07-21 09:44:53 -05:00
Franck Nijhof
8523c66bb5
Deprecate U.S. Citizenship and Immigration Services (USCIS) integration () 2022-07-21 13:56:55 +02:00
Marc Mueller
b1ed1543c8
Improve http decorator typing () 2022-07-21 13:07:42 +02:00
Thibault Cohen
1d7d2875e1
Add websocket command recorder/import_statistics ()
* 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 () 2022-07-21 12:24:29 +02:00
Franck Nijhof
baeb55e313
Add sync methods for create/deleting issues in repairs () 2022-07-21 11:11:51 +02:00
Erik Montnemery
c861259749
Hide inactive repairs issues () 2022-07-21 10:56:53 +02:00
Brandon Rothweiler
46551a50ef
Bump pymazda to 0.3.7 () 2022-07-21 09:04:04 +02:00
GitHub Action
87797c8b66 [ci skip] Translation update 2022-07-21 00:26:18 +00:00
Marc Mueller
ca1f0909fb
Fix spelling in recorder integration () 2022-07-20 19:13:10 -05:00
Marc Mueller
ac858cc2b5
Improve singleton helper typing ()
* Improve singleton helper typing

* Fix type errors
2022-07-21 00:19:02 +02:00
J. Nick Koston
6da25c733e
Add coordinator and entity for passive bluetooth devices ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-07-20 15:54:37 -05:00
Franck Nijhof
cd0656bab0
Merge pull request from home-assistant/rc 2022-07-20 22:52:11 +02:00
Maciej Bieniek
01c105b89c
Use DeviceInfo.hw_version in DenonAVR integration () 2022-07-20 22:34:49 +02:00
Franck Nijhof
7402dc824e
Bumped version to 2022.7.6 2022-07-20 21:49:42 +02:00
Shay Levy
67fc1ac40a
Bump aioshelly to 2.0.1 () 2022-07-20 21:49:18 +02:00
Aaron Bach
e692d2e284
Fix incorrect Ambient PWS lightning strike sensor state classes () 2022-07-20 21:49:15 +02:00
J. Nick Koston
4ac7d68552
Fix failure to raise on bad YAML syntax from include files ()
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-07-20 21:49:11 +02:00
Klaas Schoute
e53a072e8a
Fix - Forcast.solar issue on saving settings in options flow without api key () 2022-07-20 21:49:08 +02:00
starkillerOG
787f55e513
Fix Netgear update entity () 2022-07-20 21:49:04 +02:00
Pascal Winters
0a11a623a5
Bump pySwitchbot to 0.14.1 () 2022-07-20 21:49:01 +02:00