Commit graph

56326 commits

Author SHA1 Message Date
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
Maciej Bieniek
dcf50e5e90
Bump nextdns library to version 1.2.2 (#82735)
Bump nextdns library to version 1.2.2
2022-11-26 13:02:12 -05:00
G Johansson
987cf8b9d0
Fix pushbullet test that break CI (#82744)
pushbullet break ci
2022-11-26 13:01:22 -05:00
Erik Montnemery
2fe8e95309
Add helper to calculate statistic period start and end (#82493)
* Add helper to calculate statistic period start and end

* Don't parse values in resolve_period

* Add specific test for resolve_period

* Improve typing

* Move to recorder/util.py

* Extract period schema
2022-11-26 13:00:40 -05:00
mbo18
405c2ca82d
Add native unit where device class is set in rflink (#82729)
Add native unit where device class is set
2022-11-26 16:40:57 +01:00
On Freund
5adfae2235
Reduce error trace in Risco config flow to debug (#82730) 2022-11-26 16:38:12 +01:00
jan iversen
8ed4ce64c3
Solve modbus binary slave problem (#82338)
* Solve modbus binary slave problem.
2022-11-26 11:11:50 +01:00
Robert Svensson
e1a0f8314e
Fix deCONZ Air Quality PPB device class and unit of measurement (#82726)
Fix Air Quality PPB device class and unit of measurement
2022-11-26 10:56:09 +01:00
Matthias Alphart
daf56e92a0
Update xknx to 2.0.0 (#82709) 2022-11-26 06:49:11 +01:00
mbo18
6f1208b07f
Add more sensors to SensorEntityDescription for RFLink (#82036)
* Add more sensors to SensorEntityDescription

* changes from comments

* add device_class precipitation

* fix test

* change state_class for total_rain
2022-11-26 05:40:02 +01:00
Willem-Jan van Rootselaar
fb132f8a26
Add diagnostics to bsblan (#80957)
* add diagnostics to bsblan

* add device info

check firmware.

* add test for diagnostics

* Update tests/components/bsblan/test_diagnostics.py

Co-authored-by: Aarni Koskela <akx@iki.fi>

* add fixture for diagnostics test

Co-authored-by: Aarni Koskela <akx@iki.fi>
2022-11-26 03:12:07 +01:00
GitHub Action
797dc51bc5 [ci skip] Translation update 2022-11-26 00:22:30 +00:00
J. Nick Koston
1c9b068331
Fix grammar in ibeacon comments (#82718)
* Fix grammar in ibeacon comments

* Update homeassistant/components/ibeacon/coordinator.py
2022-11-25 22:34:36 +01:00
Jan Bouwhuis
e9a9ab9025
Correction in mqtt error string (#82712)
Text correction in mqtt error string
2022-11-25 21:07:08 +01:00
Erik Montnemery
7b5c80720a
Tweak scaffold script (#82705) 2022-11-25 20:12:27 +01:00
Erik Montnemery
35dbc3151a
Fix docstring for entity helper (#82704)
Fix some language in entity.py
2022-11-25 18:20:33 +01:00
epenet
3c3f48fe28
Use SchemaOptionsFlowHandler in azure-event-hub (#82619)
* Use SchemaOptionsFlowHandler in azure-event-hub

* Update config_flow.py

* black
2022-11-25 17:26:50 +01:00
epenet
0a4549e202
Add callback to SchemaFlowFormStep for suggested_values (#82706)
* Allow callback for suggested_values

* docstring
2022-11-25 16:38:58 +01:00
epenet
20474e500c
Use SchemaOptionsFlowHandler in aemet (#82638)
* Use SchemaOptionsFlowHandler in aemet

* Update homeassistant/components/aemet/config_flow.py

* Update config_flow.py

* black
2022-11-25 16:16:43 +01:00
uvjustin
5381f9f92f
Fix owntone websocket reconnection (#82680) 2022-11-25 16:16:16 +01:00
On Freund
424d38ecc7
Add exception trace in Risco config flow (#82683) 2022-11-25 16:12:31 +01:00
Jan Bouwhuis
4335b0db25
Clean up or correct from removed deprecation for MQTT platform (#82684)
Clean up or correct from removed deprecation
2022-11-25 16:11:22 +01:00
epenet
34757fa539
Use SchemaOptionsFlowHandler in airvisual (#82686) 2022-11-25 16:09:18 +01:00
epenet
283ee94cf3
Use SchemaOptionsFlowHandler in aurora (#82687) 2022-11-25 16:09:09 +01:00
epenet
e00808bea8
Use SchemaOptionsFlowHandler in apple_tv (#82688) 2022-11-25 16:09:01 +01:00
Erik Montnemery
e9ce08763c
Allow SchemaFlowFormStep.next_step to return None (#82707) 2022-11-25 16:00:26 +01:00
Franck Nijhof
13458dc722
Centralize exception handling in Plugwise (#82694) 2022-11-25 15:56:58 +01:00
epenet
fd3e996a1e
Merge test files (#82703) 2022-11-25 15:11:09 +01:00
Klaas Schoute
be13f3fbcf
Add API key validation for Forecast.Solar (#80856)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-11-25 15:05:01 +01:00
epenet
fcba9974e5
Rename options to suggested_values (#82700) 2022-11-25 14:40:20 +01:00
epenet
6c615016b8
Fix None schema in SchemaCommonFlowHandler (#82699) 2022-11-25 14:30:02 +01:00
Jan Bouwhuis
95e6faad0a
Set mqtt quality scale to gold (#82696) 2022-11-25 13:41:46 +01:00
G Johansson
5d7f9aee27
Add number entities to config flow for min_max (#82665) 2022-11-25 12:38:51 +01:00
Kevin Stillhammer
5257875ac6
Use SensorDeviceClass.DISTANCE for here_travel_time (#79159)
* Use SensorDeviceClass.DISTANCE in here_travel_time

* Removed unused import

* Use explicit units and conversion
2022-11-25 12:30:33 +01:00
Franck Nijhof
c715035016
Add support for raising ConfigEntryError (#82689) 2022-11-25 11:33:03 +01:00
epenet
e7d4f745ec
Expose config_entry and options as properties (#82691)
Expose config_entry and options as a property
2022-11-25 11:13:44 +01:00
Bouwe Westerdijk
ea1868b7b9
Bump plugwise to v0.25.12 (#82146)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
fixes undefined
2022-11-25 10:55:51 +01:00
epenet
9feb64cebd
Simplify schema callback in SchemaFlowFormStep (#82682)
* Simplify SchemaFlowFormStep.schema callback

* Expose parent handler

* Adjust docstrings
2022-11-25 10:50:38 +01:00
Jan Bouwhuis
01b0f4d565
Announce a deprecated callback for MQTT subscribe will stop working (#82610)
* Announce a deprecated callback will stop working

* Use 2 months grace period

* Use 2 months grace period

* Use 2 months grace period

* Add deprecation comment to tests
2022-11-25 10:22:12 +01:00
epenet
a4dbb9a24e
Add handler to validate_user_input (#82681)
* Add handler to validate_user_input

* Adjust group config flow
2022-11-25 09:29:54 +01:00
GitHub Action
f3b3193f7a [ci skip] Translation update 2022-11-25 00:24:19 +00:00
Erik Montnemery
e1338adf1a
Allow configuring country and language in core config (#81734)
* Allow configuring country and language in core config

* Add script for updating list of countries

* Use black for formatting

* Fix quoting

* Move country codes to a separate file

* Address review comments

* Add generated/countries.py

* Get default language from owner account

* Remove unused variable

* Add script to generate list of supported languages

* Add tests

* Fix stale docsring

* Use format_python_namespace

* Correct async_user_store

* Improve typing

* Fix with_store decorator

* Initialize language in core store migration

* Fix startup

* Tweak

* Apply suggestions from code review

Co-authored-by: Franck Nijhof <git@frenck.dev>

* Update storage.py

Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-11-24 23:25:50 +01:00
J. Nick Koston
09c3df7eb2
Fix iBeacons with infrequent random mac address changes unexpectedly going unavailable (#82668)
fixes https://github.com/home-assistant/core/issues/79781
2022-11-24 23:20:19 +01:00
Erik Montnemery
47cec8da8e
Add integration filter to utility_meter.calibrate service (#82671) 2022-11-24 22:41:56 +01:00
uvjustin
fcfc0e64d5
Fix mime type in forked_daapd test (#82660) 2022-11-24 22:41:26 +01:00
G Johansson
6cb004b770
Selector for SingleEntitySelectorConfig allow domain to be a list (#82666) 2022-11-24 22:34:39 +01:00
Erik Montnemery
9995cef0f9
Pass sensor DOMAIN constant to EntitySelectorConfig (#82670) 2022-11-24 22:19:47 +01:00
Erik Montnemery
b94e1e9ef8
Fire events when long term statistics is updated (#82492)
* Fire events when long term statistics is updated

* Allow the new events to be subscribed to by anyone

* Address review comments

* Finish renaming events

* Finish renaming events

* Fix do_adhoc_statistics

* Adjust tests

* Adjust tests
2022-11-24 22:01:36 +01:00
epenet
9f9114cb4a
Simplify SchemaFlowStep typing (#82661)
* Simplify SchemaFlowStep typing

* Adjust accuweather
2022-11-24 21:59:41 +01:00
Gleb Sinyavskiy
6c024c8875
Bump aiotractive, properly handle auth errors when reading events (#76715)
* Bump aiotractive, start handling authorzation errors when reading events

* Bump aiotractive, start handling authorzation errors when reading events

* Properly handle unauthorized errors

* Update homeassistant/components/tractive/__init__.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Use await when unsibscribing after auth error

* Update homeassistant/components/tractive/__init__.py

Co-authored-by: J. Nick Koston <nick@koston.org>

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-11-24 21:51:18 +01:00