Commit graph

56312 commits

Author SHA1 Message Date
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
J. Nick Koston
18dd605a74
Fix un-retrieved future in esphome ble client when library raises (#82537) 2022-11-24 10:38:53 -10:00
Robert Hillis
c30ce12c49
Remove deprecated Radarr YAML config (#81210) 2022-11-24 21:14:26 +01:00
G Johansson
a63581b5c8
Add unique id for Scrape config entry entities (#82508)
* scrape unique id

* fix uuid str

* add back UoM
2022-11-24 21:12:47 +01:00
Teemu R
e4fbbdfa05
Do not crash on non-existing enum values in xiaomi_miio.select (#82625)
fixes undefined
2022-11-24 20:49:30 +01:00
G Johansson
3b0a42f8f4
Code quality Local IP (#82050) 2022-11-24 20:39:14 +01:00
Shay Levy
815dfe9134
Fix Shelly gen2 channel name (#82655)
* Fix Shelly gen2 channel name

* Review comment
2022-11-24 21:38:32 +02:00
Erik Montnemery
978122c882
Fix docstring in SchemaFlowFormStep (#82612) 2022-11-24 20:30:23 +01:00
G Johansson
635d8c01fb
Add sum to min_max helper (#82651)
sum to min_max
2022-11-24 20:21:09 +01:00
G Johansson
cf681cd921
Add myself as codeowner for min_max (#82658)
codeowner
2022-11-24 20:14:08 +01:00
epenet
6e2803a6d8
Use SchemaOptionsFlowHandler in Accuweather (#82627)
Use SchemaOptionsFlowHandler in accuweather
2022-11-24 20:08:14 +01:00
Shay Levy
5e32abd04e
Mark Shelly as Platinum integration (#82656) 2022-11-24 09:04:51 -10:00
Raman Gupta
003e4224c8
Add text platform (#79454)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-11-24 20:01:01 +01:00
epenet
9132c42037
Improve Selector typing (#82636) 2022-11-24 19:27:26 +01:00
Maciej Bieniek
34633b0ede
Bump nextdns library to 1.2.0 (#82643) 2022-11-24 19:24:47 +01:00