Commit Graph

56989 Commits

Author SHA1 Message Date
Paolo Bonzini
02fa5656bb Make manual and manual_mqtt fully asynchronous (#83436)
* manual: make it completely async

Restoring the timers on startup cannot use track_point_in_time,
because the restoring code runs from the async_added_to_hass
method.  Rewrite everything to run in the event loop instead
of using threaded wrappers, this way the code can be reused in
async_added_to_hass.

* manual_mqtt: replace async function with @callback

* manual_mqtt: make it completely async

Restoring the timers on startup cannot use track_point_in_time,
because the restoring code runs from the async_added_to_hass
method.  Rewrite everything to run in the event loop instead
of using threaded wrappers, this way the code can be reused in
async_added_to_hass when state restore is added.

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2022-12-17 19:31:17 +01:00
Nyro
5c272583e7 Fix current_operation when there is no operation_mode in Overkiz DHWP (#84077)
Fix current_operation when there is no operation_mode
2022-12-17 11:12:15 -07:00
Maciej Bieniek
d9903c4cf9 Bump brother and pysnmplib (#84107)
* Bump brother version

* Bump pysnmplib version

* Update sensor platform

* Update switch platform

* Update tests

* Bump brother

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-12-17 12:34:43 +01:00
epenet
768d147cb2 Add device classes to pool integrations (#84050)
* Add device classes to pool integrations

* Update omnilogic

* Don't use VOLTAGE device class
2022-12-17 10:06:39 +01:00
epenet
2d9095263e Add device classes in starline (#84049) 2022-12-17 09:52:59 +01:00
J. Nick Koston
9f10bd46ac Rename Bluetooth active_update_coordinator to active_update_processor (#84115) 2022-12-16 22:25:43 -10:00
Marc Mueller
089906790e Fix prettier [homewizard] (#84122) 2022-12-16 23:40:18 -05:00
GitHub Action
6b858ce8af [ci skip] Translation update 2022-12-17 00:21:18 +00:00
Daniel Hjelseth Høyer
8e3953a9d5 Update Tibber lib, improve realtime streaming (#84065)
Update tibber lib, improve realtime streaming

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

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2022-12-16 12:11:54 -07:00
epenet
1af72e3671 Add device class to withings (#84103) 2022-12-16 20:04:07 +01:00
Duco Sebel
b41d0be952 Improve HomeWizard request issue reporting (#82366)
* Trigger reauth flow when HomeWizard API was disabled

* Add tests for reauth flow

* Fix typo in test

* Add parallel updates constant

* Improve error message when device in unreachable during config

* Set quality scale

* Remove quality scale

* Throw error instead of abort when setup fails

* Adjust test for new setup behaviour

* Trigger reauth flow when API is disabled and continue retrying

* Reload entry and raise AuthFailed during init

* Abort running config flow

* Listen for coordinator updates to trigger reload

* Use build-in backoff system

* Fix failing test

* Test reauth flow is active after disable-api init

* Test reauth flow removal
2022-12-16 10:53:54 -05:00
epenet
f5a8ce4aca Split platform attributes in withings (#84099) 2022-12-16 15:35:03 +01:00
muppet3000
186e3a6d98 Re-add missing Growatt TLX values (#84040)
* Growatt - Re-adding missing TLX values (#81470)

* Growatt - Added missing files to .coveragerc

* Growatt - Correcting TLX Voltage types

* Growatt - Addressing review comments
2022-12-16 15:31:49 +01:00
J. Nick Koston
e479fbed0c Bump govee-ble to 0.19.3 (#84062)
* Bump govee-ble to 0.19.2

fixes #82994 fixes #81335

changelog: https://github.com/Bluetooth-Devices/govee-ble/compare/v0.19.1...v0.19.2

* .3
2022-12-16 09:25:49 -05:00
J. Nick Koston
c70faeae96 Bump bluetooth-auto-recovery to 1.0.3 (#84075)
* Bump bluetooth-auto-recovery to 1.0.1

changelog: https://github.com/Bluetooth-Devices/bluetooth-auto-recovery/compare/v1.0.0...v1.0.1

Handles the case were the adapter gets a new hci number
after a usb reset.

* one more

* bump again
2022-12-16 09:25:23 -05:00
Joakim Plate
09a83b90ea Make sure philips_hs remote entity calls parent added (#84082)
Make sure remote calls parent added
2022-12-16 09:25:05 -05:00
Franck Nijhof
80b3572627 Rename image integration to image_upload (#84063)
* Rename image integration to image_upload

* fix test
2022-12-16 08:16:38 -05:00
epenet
c51c8f7e8f Refactor withings constant (#84095)
Split withings constant
2022-12-16 12:30:56 +01:00
epenet
14ee3f1ddc Move unused function in withings (#84089)
* Remove unused function in withings

* Move to tests

* Remove reference to attribute.platform

* Move WITHINGS_MEASUREMENTS_MAP to tests

* measute_type > measure_type

* One more
2022-12-16 10:50:20 +01:00
GitHub Action
7f3f271a59 [ci skip] Translation update 2022-12-16 00:23:03 +00:00
epenet
93dd971b39 Add device classes in tesla wall connector (#84048)
Addd device classes in tesla wall connector
2022-12-15 20:00:38 +01:00
DataBitz
650d4d7faa Fix grammatical error in HomeKit strings (#84043)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-12-15 07:51:24 -10:00
J. Nick Koston
e94da1ad0f Update ESPHome bluetooth repair issue for unique id change and 2022.12.0 (#84026)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-12-15 06:59:53 -10:00
epenet
dcea8a6ced Add device classes to bloomsky (#84054) 2022-12-15 11:36:10 -05:00
Bram Kragten
b0b3b36392 Update frontend to 20221213.1 (#84058) 2022-12-15 11:35:02 -05:00
ollo69
30ac390471 Use Unit enums in MELCloud sensors (#84036) 2022-12-15 14:25:51 +01:00
epenet
c4a01cf8d2 Fix incorrect device class in nibe heatpump (#84047) 2022-12-15 14:23:06 +01:00
epenet
0184aadb09 Use UnitOfElectricPotential in integrations (#84044) 2022-12-15 13:59:21 +01:00
epenet
d72c28a135 Use UnitOfLength in integrations (#84034) 2022-12-15 12:42:53 +01:00
Erik Montnemery
bf4c399b19 Improve data entry flow typing (#84030) 2022-12-15 12:41:20 +01:00
Erik Montnemery
033a16b67e Improve data entry flow typing (#83901) 2022-12-15 08:45:54 +01:00
GitHub Action
cfa08c5229 [ci skip] Translation update 2022-12-15 00:24:38 +00:00
Aaron Bach
d375361072 Bump pyairvisual to 2022.12.1 (#84013)
Bump pyairvisual to 2022.12.1
2022-12-14 16:00:44 -07:00
Ville Skyttä
f02b6f1119 Huawei LTE SSDP improvements (#81643)
* Recognize more SSDP friendly names as "ours"

* Trigger on SoyeaLink devices

* Pass discovered URL through context, it does not persist via user_input

* Use manufacturer from SSDP

* Actually use serial number if available, update URL for configured

* Remove heuristic friendly name filtering against non-LTE devices
2022-12-14 23:48:25 +01:00
ollo69
9a25e75947 Add integration-type property to androidTV manifest (#84018) 2022-12-14 23:41:46 +01:00
J. Nick Koston
6b751de7ad Bump pySwitchbot to 0.23.2 (#84002) 2022-12-14 23:38:26 +01:00
J. Nick Koston
bf18ff9fb9 Bump yalexs_ble to 0.12.0 (#84004) 2022-12-14 12:38:17 -10:00
Philip Allgaier
3d7a3afca7 Add strings to alert integration (#83926) 2022-12-14 21:25:18 +01:00
Robert Svensson
360f36eb71 Unifi use entity description with sensors (#81930)
* Move bandwidth sensors

* Add uptime sensor

* Use bound

* Fix review comments from other PR
2022-12-14 20:54:33 +01:00
Aaron Bach
9f1c5d70bc Add re-auth flow to PurpleAir (#83445)
* Add re-auth flow to PurpleAir

* Code review

* Code review

* Code review
2022-12-14 12:29:07 -07:00
Erik Montnemery
774ebc760c Ignore certain device trigger validation errors (#83972) 2022-12-14 16:41:11 +01:00
epenet
ae9506d0bb Use UnitOfMass in integrations (#83930) 2022-12-14 16:37:11 +01:00
Rami Mosleh
c0a7934828 Move transmission to an updated library (#83932)
fixes undefined
2022-12-14 16:36:37 +01:00
ollo69
227330563a Use UnitOfTemperature enumerator in AsusWrt (#83958) 2022-12-14 16:26:19 +01:00
ollo69
4d885b71ff Add integration_type property to AsusWrt manifest (#83960) 2022-12-14 16:14:31 +01:00
majuss
e16b874469 Bump lupupy dependency to v0.2.3 (#83765)
fixes undefined
2022-12-14 14:56:55 +01:00
Aaron Bach
9aaeefeb8e Ensure AirVisual Pro uses long-running Samba connection (#83869) 2022-12-13 23:31:13 -07:00
Øyvind Matheson Wergeland
c7d1402320 Fix nobo_hub HVAC mode (#83947) 2022-12-13 23:21:10 -07:00
Michael Hansen
98eabd2f68 Update intent response (#83962)
* Add language to conversation and intent response

* Move language to intent response instead of speech

* Extend intent response for voice MVP

* Add tests for error conditions in conversation/process

* Move intent response type data into "data" field

* Move intent response error message back to speech

* Remove "success" from intent response

* Add id to target in intent response

* target defaults to None

* Update homeassistant/helpers/intent.py

* Fix test

* Return conversation_id and multiple targets

* Clean up git mess

* Fix linting errors

* Fix more async_handle signatures

* Separate conversation_id and IntentResponse

* Add unknown error code

* Add ConversationResult

* Don't set domain on single entity

* Language is required for intent response

* Add partial_action_done

* Default language in almond agent

* Remove partial_action_done

* Fix linting

* Rename success/fail targets

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-12-13 23:32:30 -05:00
J. Nick Koston
da62528526 Bump aioshelly to 5.2.0 (#83961)
changelog: https://github.com/home-assistant-libs/aioshelly/compare/5.1.2...5.2.0
2022-12-13 21:21:31 -05:00