Commit Graph

56542 Commits

Author SHA1 Message Date
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
Felipe Santos
dfa1ecd032 Update base image to 2022.11.0 (#82527)
fixes undefined
2022-11-24 19:21:42 +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
Erik Montnemery
8577310e6d Fix show_menu support in SchemaFlowFormStep (#82634)
* Fix show_menu support in SchemaFlowFormStep

* Add test

* Fix test
2022-11-24 17:30:01 +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
epenet
e386bab682 Add type hint to template wrapper (#82563)
* Add type to template hassfunction decorator

* Adjust to use EvalContext

* Use runtime.Context

* Use TypeVar for context

* Use jinja2.runtime.Context

* Reverse declarations

* Use Any

* Update homeassistant/helpers/template.py

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-11-24 15:30:21 +01:00
Joakim Sørensen
d0390860fb Add repair abort flow to demo integration (#82614) 2022-11-24 14:54:41 +01:00
epenet
a856abf47f Make async_options_flow_finished optional (#82615)
* Make async_options_flow_finished optional

* Adjust docstring
2022-11-24 14:43:40 +01:00
Marc Mueller
c0425619e2 Fix round typing [mqtt] (#82629) 2022-11-24 14:39:01 +01:00
epenet
ba18571cbe Set last_step in SchemaCommonFlowHandler (#82616)
* Set last_step in SchemaCommonFlowHandler

* Always use boolean

* Adjust next_step definition
2022-11-24 14:37:55 +01:00
Marc Mueller
072bbcf203 Fix round typing [homewizard] (#82628) 2022-11-24 13:46:39 +01:00
epenet
4c38a5d773 Add OptionsFlow helper class (#82531)
* Add OptionsFlow helper classes

* More integrations

* Adjust SchemaOptionsFlowHandler

* Use single class

* Simplify access to options

* Reduce PR

* Make _options private

* Add test
2022-11-24 12:18:09 +01:00
Franck Nijhof
7f90fb1cd1 Merge branch 'master' into dev 2022-11-24 09:31:08 +01:00
epenet
b525259878 Add type hints to template result wrapper (#82575)
* Add type hints to template result wrapper

* Remove `ignore[call-arg]`

* Use tuple

* Alphabetise
2022-11-24 08:41:14 +01:00
On Freund
9dd1b85cbb Allow device_attr and is_device_attr to be used as a filter and a test (respectively) (#81924)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-11-24 08:31:17 +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
epenet
697b5db3f2 Migrate precipitation units to an enum (#81143) 2022-11-24 08:23:30 +01:00