Commit Graph

40815 Commits (64a72daa277a4575006c6f9cb635711417b6a751)

Author SHA1 Message Date
Franck Nijhof f9364c4e01
Fix 4 misconfigured sensor entity descriptions in Tuya (#82933) 2022-11-29 15:54:48 +01:00
Duco Sebel 982966a3d9
Use device_registry for HomeWizard device_info (#82921)
* Use global device and use didentifiers to get device_info

* Remove unused config_entry
2022-11-29 14:30:22 +01:00
Matrix f0b979556c
Add YoLink MultiOutlet support (#82622) 2022-11-29 14:10:38 +01:00
Franck Nijhof 412c12b992
Improve device class handling in ESPHome (#82923) 2022-11-29 14:07:56 +01:00
Franck Nijhof 9805d8a6cc
Fix device class typing in Universal Devices ISY994 (#82924) 2022-11-29 14:07:30 +01:00
north3221 d8a7336a3f
Remove as codeowner for tado (#82919) 2022-11-29 13:58:53 +01:00
epenet f8e1cb5bcf
Use SchemaOptionsFlowHandler in balboa (#82899)
* Use SchemaOptionsFlowHandler in balboa

* Make CONF_SYNC_TIME required
2022-11-29 13:37:05 +01:00
epenet e6333c15eb
Use SchemaOptionsFlowHandler in bluetooth (#82900) 2022-11-29 13:36:50 +01:00
epenet 23831d746e
Add ability to remove sensors in scrape config flow (#82912)
* Add ability to remove sensors in scrape config flow

* Add test

* Cleanup registry

* Cleanup

* Adjust comments

* Fix bad cleanup
2022-11-29 13:36:33 +01:00
Thijs W ce1b2f45c7
Add BROWSE_MEDIA support to frontier_silicon (#74950)
* Add BROWSE_MEDIA support to frontier_silicon

* Address review comments

* Don't use mediatype to differentiate between channels and presets
2022-11-29 13:31:49 +01:00
Olen 424febbbed
Remove twinkly debug-logging (#82915)
Remove debug-logging

Removing a few debug logging statements
2022-11-29 13:01:43 +01:00
J. Nick Koston d885e45ebb
Bump bluetooth-auto-recovery to 0.5.3 (#82909) 2022-11-29 12:50:54 +01:00
Pascal Vizeli e5c48edddd
Bump aioecowitt to 2022.11.0 (#82913) 2022-11-29 12:48:07 +01:00
mlemainque 060102832e
Update daikin sensors (#82441)
fixes undefined
2022-11-29 11:47:03 +01:00
Olen 33cd59d3c2
Add Twinkly effects (#82861)
* Add Twinkly effects

* Remove spurious comment
2022-11-29 11:15:30 +01:00
hahn-th 9f8dea10f7
Add support for HmIP-eTRV-E to homematicip_cloud (#82876)
* Add device HmIP-eTRV-E

* Fix test
2022-11-29 11:13:53 +01:00
Christopher Bailey 596016c2ac
Add new features from new UniFi Protect (#82892)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-11-28 23:44:31 -10:00
an0nfunc a5890b2374
Support xiaomi_miio Smartmi Air Purifier (zhimi.airpurifier.za1) (#80387) 2022-11-29 10:29:34 +01:00
J. Nick Koston f88487be25
Bump yalexs-ble to 1.9.7 (#82888) 2022-11-29 10:27:28 +01:00
Raman Gupta 1453308bc4
Add reproduce state support to `text` platform (#82772)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-11-29 10:27:05 +01:00
Erik Montnemery f869ce9d06
Validate common statistics DB schema errors on start (#79707)
* Validate common statistics db schema errors on start

* Fix test

* Add tests

* Adjust tests

* Disable statistics schema validation in tests

* Update after rebase
2022-11-29 10:16:08 +01:00
epenet 53e05dec02
Add ability to add sensors in scrape config flow (#82802)
* Add ability to add sensors in scrape config flow

* Fix menu

* Adjust comment

* Use sentinel

* Adjust docstring
2022-11-29 10:13:38 +01:00
Raman Gupta 258b9fe663
Support restoring TextEntity native_value (#82770) 2022-11-29 10:09:41 +01:00
Jan Bouwhuis fcccc44ccb
Cleanup unused AlexaPercentageController code (#82880) 2022-11-29 10:06:53 +01:00
J. Nick Koston 46b18367f7
Send back BLE address type when connecting via esphome proxies (#82890) 2022-11-28 18:54:53 -10:00
Christopher Bailey 1748a19242
Bump pyunifiprotect to 4.5.1 (#82886)
* Bump pyunifiprotect to 4.5.0

* Bump version to 4.5.1
2022-11-28 18:30:48 -10:00
J. Nick Koston fb98128b9f
Add support for esphome ble client connections v3 (#82815) 2022-11-28 16:56:18 -10:00
GitHub Action 230b50d099 [ci skip] Translation update 2022-11-29 00:26:01 +00:00
Joakim Sørensen 7c82b78f8c
Add repair for legacy subscription to cloud integration (#82621) 2022-11-28 23:35:24 +01:00
Raman Gupta 71eb45072c
Add device action for `text` platform (#82773) 2022-11-28 20:57:44 +01:00
Jan Bouwhuis 5d4c4a1293
Add humidifier support for Alexa (#81329) 2022-11-28 09:55:22 -10:00
Christopher Bailey b842e26d36
Split UniFi Protect object sensor into multiple (#82595) 2022-11-28 09:07:53 -10:00
Erik Montnemery 892be99ca0
Check if Multi-PAN addon is using the HA Yellow's radio (#82853) 2022-11-28 13:55:07 -05:00
Erik Montnemery 58b3a00b16
Remove unnecessary DB access from statistic_during_period (#82871) 2022-11-28 13:48:06 -05:00
Erik Montnemery a038314d8b
Add display unit to WS recorder/get_statistics_metadata (#82870) 2022-11-28 13:46:57 -05:00
pizzaboy192 3a65537c5e
Enable Optional Indoor Humidity sensor for Lyric (#81420) 2022-11-28 17:55:06 +00:00
J. Nick Koston 1000f500df
Bump aioesphomeapi to 12.0.1 (#82873) 2022-11-28 18:40:04 +01:00
Avi Miller 9849735dc5
Bump aiolifx to 0.8.7 and refactor config flow connection (#82818)
Signed-off-by: Avi Miller <me@dje.li>

Signed-off-by: Avi Miller <me@dje.li>
2022-11-28 17:27:27 +01:00
Marc Mueller 63d519c1a8
Spelling updates (#82867) 2022-11-28 16:51:43 +01:00
Marc Mueller d72802cfb0
Spelling - runtime and test changes (#82868) 2022-11-28 16:42:20 +01:00
epenet 42701a6872
Improve type hints in media player state (#82845)
* Improve type hints in media player state

* Reduce size of PR
2022-11-28 16:41:14 +01:00
jjlawren f887aeedfe
Fix Sonos alarm 'scheduled_today' attribute logic (#82816)
fixes undefined
2022-11-28 15:31:32 +01:00
G Johansson db480191ad
Strict typing derivative (#82785) 2022-11-28 15:12:22 +01:00
Paulus Schoutsen 7dff44b3e9
Fix mobile app passing incorrect device ID when scanning tag (#82820) 2022-11-28 08:35:57 -05:00
epenet fa08916a0a
Use attributes in roon media player (#82838)
* Use _attr_state in roon media player

* Remove more properties

* Use early exit
2022-11-28 14:11:55 +01:00
hahn-th caa981bbea
Bump homematicip 1.0.11 (#82852)
fixes undefined
2022-11-28 13:54:20 +01:00
epenet 49879fd257
Use attributes in yamaha media player (#82843) 2022-11-28 13:51:09 +01:00
epenet e8a03ea870
Use attributes in xiaomi-tv media player (#82842) 2022-11-28 12:26:24 +01:00
epenet a747a8f936
Use attributes in vlc media player (#82841) 2022-11-28 12:25:47 +01:00
epenet 6a17937dc3
Use attributes in ue smart radio media player (#82840) 2022-11-28 12:25:06 +01:00
epenet 4bf1475c95
Use attributes in ps4 media player (#82837) 2022-11-28 12:23:20 +01:00
Aaron Bach 7ba234a7ad
Add missing SimpliSafe alarm states (#82813) 2022-11-28 10:51:30 +01:00
epenet ac896121d3
Use _attr in pandora media player (#82835) 2022-11-28 10:47:11 +01:00
epenet 19abba7f6b
Use _attr in onkyo media player (#82832) 2022-11-28 10:42:38 +01:00
epenet 9ecbcd2d8f
Use _attr_state in panasonic bluray media player (#82834) 2022-11-28 10:40:32 +01:00
epenet 9802c2a646
Use _attr in nad media player (#82831) 2022-11-28 10:35:57 +01:00
epenet 841c408344
Use _attr in pjlink media player (#82836) 2022-11-28 10:33:08 +01:00
epenet cee716b892
Use _attr_state in ziggo mediabox xl media player (#82844) 2022-11-28 10:31:16 +01:00
epenet 622466b3d3
Use _attr_state in russound met media player (#82839) 2022-11-28 10:30:15 +01:00
epenet 7a1907e540
Enforce MediaPlayerState in denonavr media player (#82847) 2022-11-28 10:25:20 +01:00
epenet afe01c2434
Use attributes in demo media player (#78040) 2022-11-28 10:19:47 +01:00
Matthias Alphart e738df502b
Fix KNX secure config switching from manual to keyfile (#82724) 2022-11-28 10:18:45 +01:00
epenet 8a20a90324
Use SchemaOptionsFlowHandler in asuswrt (#82806) 2022-11-28 09:56:08 +01:00
Erik Montnemery 67e4f2c202
Raise repairs issue if country is not configured (#82685) 2022-11-28 09:54:13 +01:00
epenet b2b3e14810
Use OptionsFlowWithConfigEntry in androidtv (#82805) 2022-11-28 09:47:40 +01:00
epenet 6e37aa425b
Use _attr_state in gstreamer media player (#82846) 2022-11-28 09:46:45 +01:00
epenet b7f1ebe13c
Use _attr_state in mediaroom media player (#82830) 2022-11-28 09:29:46 +01:00
epenet ff67374901
Use _attr_state in lg-netcast media player (#82828) 2022-11-28 09:29:28 +01:00
epenet 3e35d869d2
Use _attr_state in horizon media player (#82827) 2022-11-28 09:29:04 +01:00
epenet 9ea8e0a7ca
Use _attr_state in harman kardon avr media player (#82826) 2022-11-28 09:28:08 +01:00
epenet 5be36912b2
Use _attr_state in openhome media player (#82833) 2022-11-28 09:19:41 +01:00
Shay Levy f97ac9fdcd
Add Switcher button platform (#81245) 2022-11-28 10:06:14 +02:00
epenet ec823582eb
Use OptionsFlowWithConfigEntry in axis (#82804) 2022-11-28 07:39:47 +01:00
Matthias Alphart cb06f8b668
KNX Config/OptionsFlow: minimize wait time for interface discovery (#81982)
* Minimize wait time for interface discovery

* fix OptionsFlow when connection failed

there is no `self.hass.data["KNX"]` when we are in retry mode after failed integration setup

* review changes

* fix new tests
2022-11-28 07:03:51 +01:00
J. Nick Koston d451a74c2d
Add a destruction check to the ESPHome bluetooth client (#82760) 2022-11-27 21:17:35 -05:00
Duco Sebel 367b5e586b
Add support for HomeWizard identify feature (#82375)
* Add support for Identify feature

* Add tests for button

* Use only identifiers for device_info

* Update homeassistant/components/homewizard/button.py
2022-11-27 20:48:35 -05:00
GitHub Action b65d8cc1b3 [ci skip] Translation update 2022-11-28 00:23:09 +00:00
Matthias Alphart 4517af509c
Add support for KNX IP-Secure routing (#82765)
* always use instance variable for new entry data

- change `self._tunneling_config` to non-optional `self.new_entry_data`
- always use self.new_entry_data in `finish_flow()`

* support secure routing

* amend current tests

* use sync latency tolerance

* test secure routing config flow

* diagnostics redact backbone_key

* test xknx library setup

* check length of backbone_key

* better readable key validation
2022-11-27 23:33:12 +01:00
J. Nick Koston d6e287f47a
Add manufacturer and model to bluetooth adapter device (#82769)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-11-27 15:44:44 -05:00
Álvaro Fernández Rojas 873b903cf0
Add QNAP QSW binary sensors for each port (#76522)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-11-27 15:34:14 -05:00
Robert Hillis 8a1805fa89
Add Do Not Disturb sensor to Slack (#72380) 2022-11-27 15:31:38 -05:00
Mask3007 e1572872a1
Update holidays dependency to latest 0.17.2 (#82794)
fixes undefined
2022-11-27 15:14:21 -05:00
Robert Svensson 3853182ccf
Add deconz_relative_rotary event for Hue Tap Dial (#82727) 2022-11-27 15:01:58 -05:00
Aaron Bach 4928c3d683
Add missing SimpliSafe keypad battery sensor (#82797) 2022-11-27 14:59:54 -05:00
J. Nick Koston f0ae1cc6ce
Add bluetooth diagnostics to esphome (#82761) 2022-11-27 14:59:37 -05:00
J. Nick Koston 3e3138ef1b
Bump yalexs-ble to 1.9.6 (#82779) 2022-11-27 14:58:32 -05:00
Allen Porter 682486c864
Bump pyrainbird to 0.6.3 and drop dependency conflict count (#82800) 2022-11-27 14:49:47 -05:00
J. Nick Koston 6662dbf3c8
Bump bluetooth-auto-recovery to 0.5.2 (#82768) 2022-11-27 14:27:59 -05:00
Duco Sebel 27bd1520e8
Add support for HomeWizard enable/disable cloud feature (#82573) 2022-11-27 14:26:15 -05:00
Daniel Hjelseth Høyer 093bd00807
Update pyTibber to 0.26.1 (#82787)
* Update tibber library, 0.26.0

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* 0.26.1

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2022-11-27 16:46:42 +01:00
mkmer cf249d85ee
Bump AIOAladdinConnect to 0.1.48 (#82791) 2022-11-27 05:31:41 -10:00
GitHub Action 4becb9454b [ci skip] Translation update 2022-11-27 00:26:07 +00:00
G Johansson 528a4819f0
Bump pytrafikverket to 0.2.2 (#82739)
Bump pytrafikverket 0.2.2
2022-11-27 00:06:49 +02:00
G Johansson c2d52f8fcb
Fix duplicate "devices" in DNSIP (#82741)
* duplicate device

* clean
2022-11-27 00:05:54 +02:00
G Johansson 6cfb40f080
Bump pysensibo to 1.0.22 (#82738)
fixes undefined
2022-11-26 11:14:11 -10:00
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
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
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 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
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
G Johansson 8704f1aa47
Fully type min_max (#79496) 2022-11-23 19:54:12 +01:00
Franck Nijhof 0b5357de44
Cleanup Climacell translations (#82584) 2022-11-23 17:49:59 +01:00
Duco Sebel a969f69fd5
Add support for controlling HomeWizard Energy Socket status light level (#82378)
* Add control option for Energy Socket status LED

* Add tests for number

* Fix failing tests in switch

* Fix comments

* Adjust name

* Simplify device_info
2022-11-23 11:47:32 -05:00
Matrix 95cbf7cca7
Add yolink Dimmer support (#81970)
* Add yolink Dimmer support

* suggest change

* fix suggest

* fix suggest

* fix suggest
2022-11-23 16:27:51 +01:00
Jan Bouwhuis 4f3919cb95
Move mqtt device_tracker files (#82581)
Move mqtt device_tracker files to single file
2022-11-23 16:24:56 +01:00
Joakim Plate a55fb445b0
Bump to Arcam 1.0.1 and make strictly typed (#82487)
* Make arcam_fmj strictly typed

* Add test for invalid UDN
2022-11-23 16:23:25 +01:00
Jan Bouwhuis 32d68f375b
Add Mqtt WebSockets support (#82078)
* Add Mqtt WebSockets support

* Fix tests

* Add testing websockets options

* Add tests transport settings

* Do not use templates for ws_headers

* Use json helper - small corrections
2022-11-23 15:03:31 +01:00
Joakim Sørensen 3738135e0b
Add helper to access RepairsFlowManager (#82567)
async_external_step
2022-11-23 12:00:38 +01:00
Hessel c68149c75b
Fix Wallbox price unit (#82420)
* Change Symbol to Currency code in test

* change unit to currency/kWh

* f string
2022-11-23 11:25:21 +01:00
J. Nick Koston 188cdd1bac
Ensure esphome client tasks await cancelation (#82547) 2022-11-23 10:07:05 +01:00
GitHub Action eaf6d43508 [ci skip] Translation update 2022-11-23 00:26:26 +00:00
Jc2k f20c8c657a
Fix HomeKit CoAP connection getting RST incorrectly (#82553) 2022-11-23 00:05:40 +00:00
Jesse Hills 7c36f1409d
Bump aioesphomeapi to 12.0.0 (#82543) 2022-11-22 13:45:40 -06:00
epenet 22f6a72694
Improve type hints in acmedia config flow (#82534) 2022-11-22 16:14:08 +01:00
Álvaro Fernández Rojas 00afcffbf9
Abort before trying to connect in QNAP QSW DHCP discovery when already configured (#82362) 2022-11-22 09:12:33 -06:00
Shay Levy 4a089b5c28
Add tests coverage for Shelly climate platform (#82529) 2022-11-22 09:04:55 -06:00
Jan Bouwhuis 9c1e8486c5
Add unique id option for `mqtt_room` sensors (#82521)
Add unique_id setting for mqtt_room
2022-11-22 15:56:31 +01:00
Jevgeni Kiski 157222126e
Add Vallox temperature control entities (#75858)
Co-authored-by: Sebastian Lövdahl <slovdahl@hibox.fi>
Co-authored-by: Andre Richter <andre-richter@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-11-22 12:46:57 +01:00
epenet 9d192643ee
Move PluggableAction to trigger helpers (#81900)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Joakim Plate <elupus@ecce.se>
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-11-22 11:35:18 +01:00
Erik Montnemery be7e76f302
Migrate ZHA when enabling multi-PAN support on HA Yellow (#82213)
* Migrate ZHA when enabling multi-PAN support on HA Yellow

* Refactor BaseZhaFlow.async_step_maybe_confirm_ezsp_restore

* Change data passed to ZHA to initiate migration

* Catch errors during ZHA migration

* Fix ZhaMigrationHelper.async_prepare_yellow_migration return value

* Improve test coverage

* Improve test coverage

* Fix spelling

* Rename some none HA yellow specifics

* Rename again

* Increase number of migration retries + refactor

* Suppress OperationNotAllowed when reloading

* Adjust tests
2022-11-22 11:17:23 +01:00
Guido Schmitz 1e64d830ac
Migrate devolo Home Control to new entity naming (#74969) 2022-11-22 09:54:05 +01:00
Aarni Koskela e4c73259f7
Configure autoflake for pre-commit (#82414) 2022-11-22 08:10:36 +01:00
epenet bf3c6e5f58
Enforce VacuumEntityFeature (#82466) 2022-11-22 07:27:27 +01:00
epenet 4134d722da
Enforce WaterHeaterEntityFeature (#82467) 2022-11-22 07:27:09 +01:00
epenet ab26ea06b9
Enforce UpdateEntityFeature (#82465) 2022-11-22 07:16:53 +01:00
epenet ff5f1aee53
Enforce SirenEntityFeature (#82464) 2022-11-22 07:16:29 +01:00
epenet 0cb3ec142e
Enforce RemoteEntityFeature (#82463) 2022-11-22 07:16:03 +01:00
epenet 6f05a74686
Enforce MediaPlayerEntityFeature (#82462) 2022-11-22 07:15:37 +01:00
epenet a225fc456f
Enforce LockEntityFeature (#82461) 2022-11-22 07:15:11 +01:00
epenet 7f1e1ed1d8
Enforce LightEntityFeature (#82460) 2022-11-22 07:14:47 +01:00
epenet d4bd9a0f7e
Enforce HumidifierEntityFeature (#82459) 2022-11-22 07:14:19 +01:00
epenet 12cb17620e
Enforce FanEntityFeature (#82458)
* Enforce FanEntityFeature

* Adjust pylint
2022-11-22 07:13:54 +01:00
epenet 34607d4410
Enforce CoverEntityFeature (#82457)
* Enforce CoverEntityFeature

* Adjust pylint
2022-11-22 07:09:19 +01:00
epenet 48cc3071bb
Enforce ClimateEntityFeature (#82329) 2022-11-22 07:08:53 +01:00
epenet 8b54a0679f
Enforce CameraEntityFeature (#82325) 2022-11-22 07:08:28 +01:00