Commit graph

51985 commits

Author SHA1 Message Date
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
Franck Nijhof
baeb55e313
Add sync methods for create/deleting issues in repairs (#75557) 2022-07-21 11:11:51 +02:00
Erik Montnemery
c861259749
Hide inactive repairs issues (#75556) 2022-07-21 10:56:53 +02:00
Brandon Rothweiler
46551a50ef
Bump pymazda to 0.3.7 (#75546) 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 (#75539) 2022-07-20 19:13:10 -05:00
Marc Mueller
ac858cc2b5
Improve singleton helper typing (#75461)
* 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 (#75468)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-07-20 15:54:37 -05:00
Maciej Bieniek
01c105b89c
Use DeviceInfo.hw_version in DenonAVR integration (#75300) 2022-07-20 22:34:49 +02:00
Ville Skyttä
b749622c01
Migrate Huawei LTE to new entity naming style (#75303) 2022-07-20 22:28:53 +03:00
Shay Levy
079460d2dd
Bump aioshelly to 2.0.1 (#75523) 2022-07-20 21:11:05 +02:00
Aaron Bach
a91ca46342
Fix incorrect Ambient PWS lightning strike sensor state classes (#75520) 2022-07-20 19:29:23 +02:00
Klaas Schoute
7ba3227d52
Fix - Forcast.solar issue on saving settings in options flow without api key (#75504) 2022-07-20 19:27:11 +02:00
J. Nick Koston
48e82ff62f
Fix failure to raise on bad YAML syntax from include files (#75510)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-07-20 19:25:17 +02:00
Franck Nijhof
4395b967f2
Remove Google Play Music Desktop Player (GPMDP) integration (#75508) 2022-07-20 20:15:55 +03:00