Commit Graph

40550 Commits (e00808bea86fe9e4267e01ff56f0d395aaad21d4)

Author SHA1 Message Date
epenet e00808bea8
Use SchemaOptionsFlowHandler in apple_tv (#82688) 2022-11-25 16:09:01 +01:00
Franck Nijhof 13458dc722
Centralize exception handling in Plugwise (#82694) 2022-11-25 15:56:58 +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
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
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
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
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
Maciej Bieniek 34633b0ede
Bump nextdns library to 1.2.0 (#82643) 2022-11-24 19:24:47 +01:00
rappenze cd2377bc05
Support hvacsystem in fibaro integration (#78234)
fixes undefined
2022-11-24 19:16:33 +01:00
Shay Levy 1e68e8c4b4
Add Shelly tests coverage (#82642)
* Add Shelly tests coverage

* Review comments

* Remove leftovers
2022-11-24 20:07:19 +02:00
epenet caa99ea9fb
Allow next_step to be a string (#82647)
* Allow next_step to be a string

* Adjust docstrings

* Add test
2022-11-24 18:55:53 +01:00
Franck Nijhof 285aff154d
Remove Google Chat/Hangouts integration (#82645) 2022-11-24 18:33:13 +01:00
Allen Porter bba119affa
Bump gcal_sync to 4.0.3 (#82606)
fixes undefined
2022-11-24 17:01:20 +01:00
Rogelio Orts bb517c269e
Add unknown tuya modes as presets (#82056)
Fixes https://github.com/home-assistant/core/issues/81681
fixes undefined
2022-11-24 16:28:43 +01:00
Joakim Sørensen d0390860fb
Add repair abort flow to demo integration (#82614) 2022-11-24 14:54:41 +01:00
Marc Mueller c0425619e2
Fix round typing [mqtt] (#82629) 2022-11-24 14:39:01 +01:00
Marc Mueller 072bbcf203
Fix round typing [homewizard] (#82628) 2022-11-24 13:46:39 +01:00
Jan Bouwhuis 8a8732f0bc
Strict type hints for MQTT integration (#82317)
* Strict type hints for MQTT integration

* Fix errors

* Additional corrections

* Use cv.template to avoid untyped calls

* Enable strict typing policy for MQTT integration

* Use ignore[no-untyped-call]

* Use # type: ignore[unreachable]

* Correct cast

* Refactor getting discovery_payload

* Remove unused type ignore comments
2022-11-24 08:25:44 +01:00
Joakim Sørensen 621068211f
Do not delete issue when aborting repairs fix flow (#82593)
* Do not delete issue when aborting repairs fix flow

* lint

* types
2022-11-24 08:21:54 +01:00
mkmer ae07e2a9a8
Add reauth config flow to Whirlpool (#82532)
* Add ReauthFlow

* Update homeassistant/components/whirlpool/config_flow.py

Darn it - thought I caught all of these.

Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>

* Update homeassistant/components/whirlpool/config_flow.py

Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>

* Update homeassistant/components/whirlpool/config_flow.py

Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>

* Update homeassistant/components/whirlpool/config_flow.py

Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>

* Update homeassistant/components/whirlpool/config_flow.py

Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>

* Update homeassistant/components/whirlpool/config_flow.py

Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>

Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>
2022-11-23 19:40:33 -08:00
GitHub Action 33d391a110 [ci skip] Translation update 2022-11-24 00:26:32 +00:00
Maciej Bieniek 845bcf3f7d
Translate `PowerOff` state of `select` entity in Harmony integration (#77491)
* Add custom device_class for select entity

* Update tests

* Make the state PowerOff translatable

* Update strings.select.json file

* add select.en.json

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-11-24 00:08:43 +01:00
Kevin Stillhammer f43f0c4bcc
Use assignment expression for alexa init (#81242) 2022-11-23 20:54:16 +01:00
Joakim Plate 8bd4125390
Test corrections noticed during pytest upgrade (#82579)
* Withing trigger a call to coordinator after init

* Stop discovery task on STOP event

* Stop dsmr connection task on STOP

* Use autospec in modem_serial tests

close on AioSerial is non async, and should not be mocked as a coroutine

* Make sure responder is specced correctly

tests/components/emulated_hue/test_init.py::test_setup_works
  /Users/joakim/src/hass/home-assistant/homeassistant/components/emulated_hue/__init__.py:119: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
    protocol.close()

* Don't assume Pymodbus is the only thing logging

* Use gather instead of wait

```
homeassistant/components/homeassistant/__init__.py:208: DeprecationWarning: The explicit passing of coroutine objects to asyncio.wait() is deprecated since Python 3.8, and scheduled for removal in Python 3.11.
```

* Increase wait time for automation tests

Assuming exit within 1 seconds is unreasonable on a potentially loaded
test machine.

* Avoid changing app state after startup
2022-11-23 20:53:28 +01:00
Joakim Plate 25c7754edb
Upgrade arcam_fmj to entity naming (#82586) 2022-11-23 20:36:17 +01:00
Álvaro Fernández Rojas f1ffb25d99
Add Airzone DHCP discovery support (#82339) 2022-11-23 12:32:23 -07:00
Jan Bouwhuis 23bc39b7f4
Add type hints on `Template().__init__()` (#82574) 2022-11-23 20:26:55 +01:00