Commit Graph

41341 Commits (3149c52be1ad984489f63f31ea0cfc05f0f3f9a9)

Author SHA1 Message Date
epenet b4274e4a26
Add POWER device class to goodwe number (#84232) 2022-12-19 13:17:57 +01:00
epenet 429dbd4215
Use UnitOfVolume in dsmr_reader (#84226) 2022-12-19 13:14:01 +01:00
epenet cce438951d
Use new unit enumerators in tuya (#84229) 2022-12-19 13:11:48 +01:00
tronikos e618a8cc0c
Bump gassist-text to 0.0.5 (#84161) 2022-12-19 12:24:02 +01:00
Michaël Arnauts 627a208d9f
Use a global const for CONF_UUID (#84093) 2022-12-19 12:16:30 +01:00
epenet 2f19b56d5e
Use UnitOfVolume in bmw_connected_drive (#84228) 2022-12-19 12:12:48 +01:00
epenet 0f40a73bb4
Use new unit enums in fronius (#84224) 2022-12-19 11:58:24 +01:00
J. Nick Koston f1fc54d29d
Bump zeroconf to 0.44.0 (#84166) 2022-12-19 11:56:11 +01:00
epenet a29aaebd4c
Use ENERGY device class in oru (#84225)
* Use ENERGY device class in oru

* Apply suggestions from code review

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-12-19 11:41:07 +01:00
epenet 1f60296415
Use ENERGY device class in landisgyr heat meter (#84223) 2022-12-19 11:26:48 +01:00
Paolo Bonzini 52594717ca
Fix manual.alarm_control_panel RestoreEntity bugs (#82990)
* manual: add previous state for TRIGGERED as well

This will be useful to properly restore timers on restart.

* manual: correctly restore timers on startup
2022-12-19 11:19:24 +01:00
Maciej Bieniek 20f0abacc0
Bump `nettigo air monitor` library to version 1.6.0 (#84129) 2022-12-19 10:15:31 +00:00
epenet 0dd20fb309
Use UnitOfEnergy in integrations (a-n) (#84220) 2022-12-19 11:06:00 +01:00
epenet ebdf9a8658
Use UnitOfEnergy in integrations (o-z) (#84221) 2022-12-19 10:58:37 +01:00
epenet 3168b30535
Use new unit enumerators in tibber (#84222) 2022-12-19 10:54:18 +01:00
Avi Miller 292294fb96
Bump aiolifx-themes to 0.4.0 (#84216) 2022-12-19 09:11:14 +01:00
J. Nick Koston 884fbdd5ce
Bump PySwitchbot to 0.29.1 (#84119)
fixes https://github.com/home-assistant/core/issues/82795
closes https://github.com/home-assistant/core/issues/78562
2022-12-18 14:54:29 -10:00
GitHub Action b96eab3e5e [ci skip] Translation update 2022-12-19 00:21:16 +00:00
epenet 14a47f5dff
Use DATA_SIZE device class in folder integration (#83897) 2022-12-18 22:16:21 +01:00
hahn-th 5e5e89ea18
Add device HmIP-DRDI3 (#83337) 2022-12-18 12:44:49 -07:00
Aaron Bach d423cbf8eb
Add ability to add/remove PurpleAir sensors in an existing config entry (#83440) 2022-12-18 11:30:05 -07:00
Aaron Bach 168b3b50cd
Save entry earlier in PurpleAir re-auth flow (#84203) 2022-12-18 11:15:03 -07:00
Aaron Bach 4c73826baf
Add re-auth flow to AirVisual Pro (#84012)
* Add re-auth flow to AirVisual Pro

* Code review
2022-12-18 11:00:08 -07:00
Ernst Klamer 47522546e6
Sensor pro fix for negative temperatures (#84181)
fixes undefined
2022-12-18 07:35:04 -10:00
Alberto Geniola ecdbddc1fa
Elmax/alarm_control_panel (#75365) 2022-12-18 09:12:43 -07:00
Jelte Zeilstra f99d26231f
Add state_class to Tradfri battery and air quality sensors (#84185) 2022-12-18 16:52:08 +01:00
Rami Mosleh 10a6c56fec
Move speedtestdotnet coordinator to separate file (#83979) 2022-12-18 10:57:17 +01:00
Kevin Stillhammer 487d84c8f9
Enable strict typing for here_travel_time (#83814)
* Enable strict typing for here_travel_time

* Use dict[str, Any] instead of Any

* Use kwargs ctor

* Specify dicts
2022-12-18 09:34:47 +01:00
J. Nick Koston 119664b55e
Bump yalexs-ble to 1.12.2 (#84118) 2022-12-17 17:14:39 -10:00
J. Nick Koston e7064bda25
Add dhcp discovery for newer august/yale bridges (#84125) 2022-12-17 16:42:47 -10:00
Michael 5f160be8f6
Fix check if Surveillance Station is available in Synology DSM (#84140)
start coordinator only when surveillance_station is avialble during api setup
2022-12-17 19:43:18 -05:00
Allen Porter a3ab6a99e3
Bump ical to 4.2.3 (#84104) 2022-12-17 19:42:55 -05:00
GitHub Action 571a63f86e [ci skip] Translation update 2022-12-18 00:22:48 +00:00
Matthias Alphart 6e5d4b592d
Fix KNX ConfigFlow for manual secure tunnel keys (#84155) 2022-12-18 00:06:14 +01:00
Martin Hjelmare f29024795b
Clean up matter adapter (#84144) 2022-12-17 23:44:19 +01:00
tronikos d6158c0fcc
Google Assistant SDK: Support non en-US language code (#84028)
* Support non en-US language code

* Get default language_code based on HA config

* Revert bumping gassist-text
Will be done in a separate PR
2022-12-17 14:40:24 -08:00
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
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
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
J. Nick Koston b7c7e7f57b
Try to reconnect disconnected shelly devices as soon as they discovered by zeroconf (#83872) 2022-12-13 14:22:34 -10:00
J. Nick Koston 45a9c1ca8c
Bump aioesphomeapi to 13.0.2 to fix reconnects after bad protobuf message (#83951) 2022-12-13 12:57:54 -10:00
J. Nick Koston 5a970e0a2b
Adjust additional esphome bluetooth debug messages for unique id change (#83955) 2022-12-13 12:57:29 -10:00
Michael Hansen 961c8cc167
Update intent response (#83858)
* 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

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-12-13 16:46:40 -06:00
J. Nick Koston 0e2ebfe5c4
Move bluetooth watchdog into the scanner base class (#83888) 2022-12-13 11:57:40 -10:00
J. Nick Koston b97ec8125f
Bump aioshelly to 5.1.2 to fix state updates not firing after reconnect (#83950)
Bump aioshelly to 5.1.2

changelog: https://github.com/home-assistant-libs/aioshelly/compare/5.1.1...5.1.2
2022-12-13 23:27:05 +02:00
epenet 62d22d7a2d
Refactor fitbit descriptions to use device classes (#83936) 2022-12-13 21:49:41 +01:00
epenet b7b7cdcfcf
Refactor Huawei LTE to use Entity Description (#83904)
* Refactor Huawei LTE to use Entity Description

* Apply suggestions from code review

Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>

Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
2022-12-13 19:48:46 +01:00
Bram Kragten 42a9069338
Update frontend to 20221213.0 (#83940) 2022-12-13 13:24:24 -05:00
Aaron Bach fed308b59d
Add diagnostics support to PurpleAir (#82446)
Add diagnostics to PurpleAir
2022-12-13 09:14:19 -07:00
epenet 9f67eb1aaa
Refactor huisbaasje to use entity descriptions (#83825)
* Refactor huisbaasje to use entity descriptions

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-12-13 14:16:50 +01:00
epenet 85235ea5f6
Use FREQUENCY device class in integrations (#83916)
* Use FREQUENCY device class in integrations

* Adjust tesla

* Undo goodwe

* Adjust cpuspeed tests
2022-12-13 14:14:42 +01:00
epenet fc43fb17a9
Fix incorrect device class in goodwe (#83917)
Fix device class in goodwe
2022-12-13 13:45:51 +01:00
Erik Montnemery 534d343f67
Bump pychromecast to 13.0.4 (#83896) 2022-12-13 11:55:23 +01:00
epenet 946d5535b4
Use UnitOfFrequency in integrations (#83915) 2022-12-13 11:47:06 +01:00
Erik Montnemery 0f5c678708
Add explanatory comment to metoffice (#83914) 2022-12-13 11:03:18 +01:00
Koen van Zuijlen cc5d319369
Fix Just Nimbus error codes (#83856) 2022-12-13 10:59:13 +01:00
epenet b5107a3f1d
Use DATA_SIZE device class in lidarr (#83907) 2022-12-13 10:19:22 +01:00
epenet 1ad4cb40df
Use DATA_SIZE device class in netgear lte (#83908) 2022-12-13 10:18:35 +01:00
epenet 69bc95a715
Use DATA_SIZE device class in integrations (#83895) 2022-12-13 10:17:56 +01:00
Yuxin Wang 677f0dc335
Remove deprecated apcupsd YAML config (#83801) 2022-12-13 08:52:05 +01:00
Sergio Oller 9733d31cd0
Do not add a Content-Type header to ingress (#83425) 2022-12-13 08:50:20 +01:00
Artem Draft e32074c74e
Fix saving options with missing ignored sources in BraviaTV (#83891)
fix https://github.com/home-assistant/core/issues/83217
fixes undefined
2022-12-13 08:45:04 +01:00
Aaron Bach e64973c7cc
Add PurpleAir integration (#82110) 2022-12-12 20:32:11 -07:00
J. Nick Koston 7c6806e75d
Fix bleak-retry-connector get_device hang with HAOS 9.4 and only proxies (#83879)
The bleak connection setup to dbus hangs forever instead of errors if
there are no local bluetooth adapters and we are using remote proxies.

The library now times out when this happens instead of hanging
forever.

changelog: https://github.com/Bluetooth-Devices/bleak-retry-connector/compare/v2.10.1...v2.10.2
2022-12-12 21:29:39 -05:00
J. Nick Koston 692a732555
Fix HomeKit media players when entity has duplicate sources (#83890)
fixes #83852 fixes #83698
2022-12-12 21:29:06 -05:00
GitHub Action b9753a9f92 [ci skip] Translation update 2022-12-13 00:27:47 +00:00
Avi Miller 812db974c7
bump aiolifx_themes to 0.3.0 (#83877) 2022-12-12 13:52:38 -10:00
J. Nick Koston 9b5c5938ce
Remove get_device call in switchbot (#83881) 2022-12-12 13:51:10 -10:00
J. Nick Koston 938475d988
Remove get_device call in led-ble (#83880) 2022-12-12 13:50:47 -10:00
Nyro 1ee2959e4e
Bump pyoverkiz to 1.7.2 (#83866)
Bump pyoverkiz
2022-12-13 00:17:05 +01:00
Nyro a3e62c9ecf
Fix issue on Overkiz Domestic Hot water heater entities with away mode (#83684)
* Don't call set boostMode Duration with 0 to disable boost mode

* use states.get() instead of states[]

* Revert select states
2022-12-13 00:08:10 +01:00
Aaron Bach 3d4ee5906d
Add integration for AirVisual Pro (#79770)
* Add integration for AirVisual Pro

* Tests

* A few more redactions

* Loggers

* Consistency

* Remove unnecessary f-string

* Use `entry.as_dict()` in diagnostics

* One call

* Integration types

* Cleanup

* Import cleanup

* Code review

* Code review

* Code review
2022-12-12 14:28:27 -07:00
Michael 41041cb673
Move template check into fritzbox entry setup (#83863)
* move template check into entry setup

* use else in try-except block
2022-12-12 16:11:57 -05:00
Erik Montnemery 22e5d86324
Bump pychromecast to 13.0.3 (#83861) 2022-12-12 15:57:12 -05:00
Bram Kragten 5ef972c5d9
Update frontend to 20221212.0 (#83842) 2022-12-12 18:52:47 +01:00
David F. Mulcahey aa27d2ec2a
Bump version of ZHA quirks to 0.0.89 (#83848) 2022-12-12 10:33:50 -07:00
epenet a99a92a2e9
Refactor waterfurnace to use entity descriptions (#83824) 2022-12-12 17:14:53 +01:00
Jafar Atili 2d206e7e31
Bump pyswitchbee to 1.7.3 (#83748) 2022-12-12 16:00:30 +01:00
epenet b8a5869f76
Refactor ted5000 to use entity descriptions (#83820)
* Refactor ted5000 to use entity descriptions

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Refactor native_value

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-12-12 15:36:27 +01:00
epenet 52d4a358a0
Use UnitOfPower in integrations [s-z] (#83826) 2022-12-12 12:20:16 +01:00
Álvaro Fernández Rojas eb6310f7bb
Update aioqsw to v0.3.1 (#83784) 2022-12-12 11:58:22 +01:00
Hans Oischinger f65e18c019
Bump PyVicare to 2.21.0 (#83770) 2022-12-12 11:57:44 +01:00
J. Nick Koston 876258e68a
Bump bluetooth-auto-recovery to 1.0.0 (#83800)
fixes https://github.com/home-assistant/core/issues/83673
2022-12-12 11:49:57 +01:00
epenet 1667b4b19e
Use POWER device class in enphase_envoy (#83811) 2022-12-12 11:49:02 +01:00
epenet 4fe025b297
Use UnitOfPower in integrations [a-g] (#83812) 2022-12-12 11:48:09 +01:00
epenet 431df618c3
Use POWER device class in eliqonline (#83810) 2022-12-12 11:46:46 +01:00
epenet 3b117998fb
Use POWER device class in dte energy bridge (#83809) 2022-12-12 11:45:48 +01:00
epenet cc7ce8ec45
Use POWER device class in aqualogic (#83808) 2022-12-12 11:45:14 +01:00
epenet 2b647bcd5b
Use device classes in apcupsd (#83807) 2022-12-12 11:44:37 +01:00
epenet 87d24d4cbe
Use unit enums in saj (#83818) 2022-12-12 11:43:29 +01:00
epenet a48741d891
Use device classes in sense (#83817) 2022-12-12 11:42:57 +01:00
epenet 3edb0969de
Use UnitOfPower in integrations [h-r] (#83815) 2022-12-12 11:41:58 +01:00
Brandon Rothweiler f24f0c2954
Fix incorrect usage of 'setup' vs 'set up' (#83774) 2022-12-12 11:40:00 +01:00
epenet 254d46b80f
Use device classes in solaredge_local (#83821) 2022-12-12 10:45:25 +01:00
epenet fa06398721
Use POWER device class in solarlog (#83822) 2022-12-12 10:45:12 +01:00
epenet a30f14a15e
Use device classes in volkszaehler (#83823) 2022-12-12 10:27:44 +01:00
epenet 9cd159ee01
Remove device class on V_FLOW in mysensors (#83806) 2022-12-12 08:35:58 +01:00
J. Nick Koston d91e44485c
Do not try to reconnect shelly on disconnected if Home Assistant is stopping (#83805) 2022-12-11 21:33:58 -10:00
J. Nick Koston 80a8d5443d
Improve remote bluetooth scanner diagnostics and add missing test cover (#83796) 2022-12-11 21:33:30 -10:00
Christopher Bailey ec47f7b6ff
Add text platform for UniFi Protect (#83674) 2022-12-11 21:30:24 -10:00
J. Nick Koston 95641fa780
Revert "Move esphome gatt services cache to be per device" #81265 (#83793) 2022-12-11 17:50:18 -10:00
Paulus Schoutsen 39fecb523d SleepIQ to not retry a re-auth right away 2022-12-11 21:43:25 -05:00
GitHub Action 6745f0c56a [ci skip] Translation update 2022-12-12 00:24:56 +00:00
J. Nick Koston 9008006ac8
Restore remote discovered devices between remote scanner restarts (#83699) 2022-12-11 09:02:55 -10:00
Michael Chisholm fbab7413a5
Match config entries for dlna_dmr based on device MAC, in addition to UDN (#74619)
* Factor out _is_dmr_device function

* Use DMR device's MAC to match existing config entries

Some DMR devices change their every time they boot, against the DMR specs.
Try to match such devices to existing config entries by using their MAC
addresses.

* Add DMR device's MAC as a device_registry connection

* Use doc-only IPs (RFC5737) for dlna_dmr tests
2022-12-11 13:40:35 -05:00
Christopher Bailey 1f6e2511f8
Fix event sensor for UniFi Protect (#83663)
* Fix event sensor for UniFi Protect

* Linting

* Adds no cover

* Clean up check

* Linting
2022-12-11 13:32:26 -05:00
Michael 4fbaefe55a
Fix IPv6 sensor is only loaded when Fritz!Box is in router mode (#83757)
do not check ipv6 when device is not a router
2022-12-11 13:22:54 -05:00
G Johansson 127eca3c35
Fix scan_interval in Scrape (#83758)
Scrape fix scan_interval
2022-12-11 13:19:04 -05:00
Hans Oischinger 5fa9da25f2
Rename "Power production this week" vicare sensor (#83771)
vicare: Rename "Power production this week" sensor

'Power' should be 'Energy' like for the other timespanns.
This one was forgotten last time this area was cleaned up.
2022-12-11 18:53:05 +01:00
Robert Svensson 188ce9bf49
Align implementation of the UniFi update platform with the UniFi switch platform (#81821)
* Use the same entity class as switches, but separately

Once all platforms are migrated I will consolidate them into one entity class

* Fix review comment

* Fix review comments

* Fix review comments
2022-12-11 16:41:58 +01:00
Maximilian 0aa4d0fb7b
Bump pynina to 0.2.0 (#83726)
* Bump pynina to version 0.2.0

* Update tests with new url
2022-12-11 12:43:45 +02:00
J. Nick Koston 7178cacdc2
Adjust esphome bluetooth client logging for unique id change (#83742) 2022-12-10 17:45:59 -10:00
Paulus Schoutsen d3df4dd3c1
ESPHome: Use MAC as unique ID (#83741)
* ESPHome: Use MAC as unique ID

* Normalize incoming zeroconf/dhcp macs

* Update comment

* Test ESPHome without mac in zeroconf

* Use format_mac

* Remove unique ID index from DomainData
2022-12-10 22:26:42 -05:00
J. Nick Koston bd342ddc13
Bump HAP-python to 4.6.0 (#83729) 2022-12-10 17:25:36 -10:00
Avi Miller 5976de6b7a
lifx: bump aiolifx_effects dependency to v0.3.1 (#83730)
Fixes #83719

Signed-off-by: Avi Miller <me@dje.li>

Signed-off-by: Avi Miller <me@dje.li>
2022-12-10 20:03:13 -05:00
J. Nick Koston a65ce7e6c6
Correct deprecated volt units on yalexs_ble sensor (#83738) 2022-12-10 20:02:21 -05:00
GitHub Action f19a1147fe [ci skip] Translation update 2022-12-11 00:26:24 +00:00
J. Nick Koston 9094d73df1
Connect esphome ble scanner as soon as possible (#83728)
Other integration depend on it being available so connect
it first
2022-12-10 15:17:05 -05:00
J. Nick Koston 642cefb035
Add MVP humidifier support to switchbot (#83696)
* Add MVP humidifier support to switchbot

changelog: https://github.com/Danielhiversen/pySwitchbot/compare/0.22.0...0.23.0

* Update homeassistant/components/switchbot/config_flow.py

* bump

* coveragerc

* Revert "coveragerc"

This reverts commit eb642f6543.

* fix dirty branch
2022-12-10 13:56:57 -05:00
J. Nick Koston 5c79dae4c0
Add support for battery to Yale Access Bluetooth (#83691)
* Add support for battery level to Yale Access Bluetooth

* fix

* bump

* bump

* bump

* bump

* fix

* bump

* battery level is always an estimate from voltage, but than again it always is for every device

* bump

* review

* bump again to fix slow start

* other one
2022-12-10 13:55:22 -05:00
rappenze 119f2a90b7
Fix fibaro climate unit (#83659) 2022-12-10 20:23:07 +02:00
Kevin Stillhammer c467b890fe
Add homeassistant.helpers.location to loggers for travel_time integrations (#83705)
Add homeassistant.helpers.location to loggers
2022-12-10 20:18:20 +02:00
Kostas Chatzikokolakis 3c704ba8da
Bump androidtv dependency of androitv component (#83707)
Fixes #80555
2022-12-10 20:14:15 +02:00
Allen Porter 1ac7f5f013
Make google calendar fail louder on invalid google_calendars.yaml (#83668)
* Make google calendar fail louder on invalid google_calendars.yaml

* Update homeassistant/components/google/__init__.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Update homeassistant/components/google/__init__.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-12-10 09:26:28 -08:00
J. Nick Koston af1c326cff
Try to reconnect right away when disconnected from Shelly Gen2 devices (#83701) 2022-12-10 06:15:10 -10:00
epenet 456c5515c8
Use UnitOfVolume in integrations (#83646) 2022-12-10 12:43:13 +01:00
epenet 68efa37bff
Fix invalid unit in econet (#83656) 2022-12-10 12:39:53 +01:00
epenet f53145c540
Use GAS device class in smartthings (#83658) 2022-12-10 12:37:56 +01:00
Erik Montnemery d2fc3a22e2
Drop title from repairs flows (#83627) 2022-12-10 11:43:22 +01:00
epenet 535aba10ee
Use DataRate unit and device class in integrations (#83610) 2022-12-10 11:41:44 +01:00
epenet 3970da0ad3
Adjust device class in xiaomi_miio (#83647) 2022-12-10 11:10:13 +01:00
epenet c947152c48
Use unit enums in vicare (#83648) 2022-12-10 11:06:46 +01:00
Sommerzeit b17391014a
Add hue wall switch to deconz integration (#83700) 2022-12-10 09:51:41 +01:00
tronikos 2cfdae0c45
Google Sheets: small cleanup (#83685)
* Remove duplicate object key in strings.json

* Remove async_entry_has_scopes check

This is not needed. This was copied from google calendar integration
where it was needed to reauth when the scope changed.

* Remove unused constant in application_credentials

* Move constant to the file used

* fix warning use-implicit-booleaness-not-len

* Remove not accessed parameters

* Revert "Remove async_entry_has_scopes check"

This reverts commit 63e24f84cc.
2022-12-09 20:57:40 -08:00
SukramJ e53758c1bb
Add missing CONF_SPEED to sensor device_trigger SCHEMA (#83679)
* Update device_trigger.py

* add missing CONF_IS_SPEED to device_condition
2022-12-09 21:18:47 -05:00
Kevin Stillhammer ab3f0fc63b
Handle special transit errors for here_travel_time (#83649)
Handle special transit errors
2022-12-09 21:09:55 -05:00
J. Nick Koston df0f694b01
Bump dbus-fast to 1.82.0 (#83682)
performance improvements for HAOS 9.4 passive monitoring

changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.80.0...v1.82.0
2022-12-09 20:55:20 -05:00
J. Nick Koston fec887420d
Fix delay setting up new Yale Access Bluetooth entries (#83683)
Entries took a while to setup because of the
async_wait_init_flow_finish call in _async_setup_component

The delay was so long that users thought the integration
was broken

We had a wait in place for advertisements to arrive
during discovery in case the lock was not
yet seen.  Since integration discovery is deferred
until after startup this wait it no longer needed
2022-12-09 20:55:06 -05:00
Michael ea95f74d6d
Fix loading of Fritz!Smarthome issues on older Fritz!Box (#83688)
* check if templates are available

* add test
2022-12-09 20:54:22 -05:00
aschmitz ca5dc01207
Hide Aranet update interval by default (#83694) 2022-12-09 20:33:23 -05:00
GitHub Action 1e0345a377 [ci skip] Translation update 2022-12-10 00:21:35 +00:00
epenet 5c700916d3
Use unit enums in overkiz (#83660) 2022-12-10 00:08:03 +01:00
Maarten Weyns d5c322732f
Bump pyrisco to 0.5.7 (#83548) 2022-12-09 12:16:15 -10:00
Shay Levy 376db101d6
Bump aioshelly to 5.1.1 (#83680) 2022-12-09 22:21:38 +02:00
Erik Montnemery cd487ccaed
Bump pychromecast to 13.0.2 (#83625)
* Bump pychromecast to 13.0.2

* Pass hass UUID to HomeAssistantController
2022-12-09 14:33:00 -05:00
J. Nick Koston 09f9bb05dc
Add bluetooth diagnostics to shelly (#83438)
* Add bluetooth diagnostics to shelly

* Add tests

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-12-09 10:55:10 -05:00
epenet b63359b186
Use UnitOfVolume in energy integration (#83641) 2022-12-09 10:39:40 -05:00
Jan Bouwhuis e15388a2a0
Improve MQTT type hints for dict get assignments (#83634)
* Improve type hints for dict get assignments

* Move _expire_after as class attr

* Remove extra check
2022-12-09 16:22:36 +01:00
epenet a1758a71d2
Use WATER device class in streamlabswater (#83654) 2022-12-09 10:20:35 -05:00
epenet 55b996f5db
Use device classes in mysensors (#83653) 2022-12-09 10:20:06 -05:00
epenet b44e8673a8
Use WATER device class in rainmachine (#83651) 2022-12-09 10:19:18 -05:00
tronikos 5d31673465
Google Assistant SDK integration (#82328)
* Copy google_sheets to google_assistant_sdk

This is to improve diff of the next commit with the actual implementation.

Commands used:
cp -r homeassistant/components/google_sheets/ homeassistant/components/google_assistant_sdk/
cp -r tests/components/google_sheets/ tests/components/google_assistant_sdk/

find homeassistant/components/google_assistant_sdk/ tests/components/google_assistant_sdk/ -type f | xargs sed -i \
-e 's@google_sheets@google_assistant_sdk@g' \
-e 's@Google Sheets@Google Assistant SDK@g' \
-e 's@tkdrob@tronikos@g'

* Google Assistant SDK integration
Allows sending commands and broadcast messages to Google Assistant.

* Remove unnecessary async_entry_has_scopes check

* Bump gassist-text to fix protobuf dependency
2022-12-09 07:14:43 -08:00
epenet d63a1ab511
Use UnitOfPower.BTU_PER_HOUR in zha (#83657) 2022-12-09 15:57:57 +01:00
epenet 9ba0809852
Use WATER device class in suez water (#83650)
Adjust device class for suez water
2022-12-09 09:53:35 -05:00
Marc Mueller 9a97784168
Add types package for paho-mqtt (#83599) 2022-12-09 15:27:46 +01:00