Commit Graph

44198 Commits (41341c76cf88eee92ef11c56ead650479cb9539e)

Author SHA1 Message Date
Franck Nijhof a1ed09f2cc
Code quality improvements for Mastodon (#84320) 2022-12-21 02:32:29 +01:00
Kevin Stillhammer ba94485ca1
Handle not existing arrival/departure keys for here_travel_time (#83754)
* handle not existing arrival/departure keys

* Use more concise code

* Add test

* Add testcase for empty arrival/departure
2022-12-20 16:47:43 -08:00
Michael 8a3fc2e82b
Fix attribute check in prometheus exporter (#84321)
* fix attribute check

* add test
2022-12-20 16:32:00 -08:00
Guido Schmitz 0265aae247
Bump devolo-plc-api to 0.9.0 (#84324) 2022-12-20 16:31:18 -08:00
GitHub Action e0bb26e964 [ci skip] Translation update 2022-12-21 00:21:15 +00:00
Erik Montnemery 057bb6ea0a
Add aliases to device registry items (#84246) 2022-12-20 23:43:31 +01:00
epenet 79d3d4ceae
Use UnitOfTemperature in integrations (t-z) (#84309) 2022-12-20 18:50:39 +01:00
epenet ba043c9ebb
Use UnitOfTemperature in integrations (p-s) (#84308) 2022-12-20 18:47:27 +01:00
epenet d60fe7e7cd
Use UnitOfTemperature in integrations (n-o) (#84306) 2022-12-20 18:39:09 +01:00
epenet a6ddac9004
Use UnitOfTemperature in integrations (i-m) (#84307) 2022-12-20 18:30:46 +01:00
epenet 9580c4f1ec
Use UnitOfTemperature in integrations (e-h) (#84305) 2022-12-20 18:29:16 +01:00
epenet d89ba40010
Use UnitOfTemperature in integrations (a-d) (#84304) 2022-12-20 17:59:20 +01:00
Ernst Klamer 82efbee443
Bump bthome-ble to 2.4.0 (#84189) 2022-12-20 17:54:17 +01:00
Jonathan de Jong b67009dee3
Allow MQTT device trackers to be able to the reset the location name for auto zone inference (#83952)
* adds auto-zone to mqtt device trackers

* black formatting

* abbr

* change abbreviation

* add test

* fade to black

* Modify custom overrides

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>

* add custom + abbr payload and fix test docstrings

* change auto_zone to reset

* change RST to None, address isort

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2022-12-20 17:38:40 +01:00
Franck Nijhof 4ef7bb9bbe
Extract Forecast.Solar DataUpdateCoordinator into module (#83859) 2022-12-20 17:24:27 +01:00
Rami Mosleh 78cc547782
Remove scan_interval and manual options from speedtestdotnet (#84295) 2022-12-20 16:01:28 +01:00
Joakim Sørensen 63807e443a
Skip client metadata values that are None (#84293) 2022-12-20 09:32:27 -05:00
Maciej Bieniek 1661daa911
Update `gios` library to version 2.3.0 (#84292) 2022-12-20 15:27:55 +01:00
Tom Puttemans 5df7cb0fb5
Revert the state class removal in dsmr_reader after bugfix (#84267) 2022-12-20 13:30:28 +01:00
Tom Puttemans bd65258905
Improve the dsmr_reader sensor names (#84269) 2022-12-20 13:28:40 +01:00
epenet 68857dc272
Use UnitOfTime in integrations (a-g) (#84288) 2022-12-20 13:22:20 +01:00
epenet 55a5e17cf2
Use UnitOfTime in integrations (h-s) (#84289) 2022-12-20 13:21:14 +01:00
Martin Hjelmare 6a8d9a91cb
Fix matter websocket reconnect (#84192) 2022-12-20 13:06:24 +01:00
epenet fba13dcc90
Use UnitOfTime in integrations (t-z) (#84291) 2022-12-20 12:30:14 +01:00
Erik Montnemery 1f3da9cf1a
Add aliases to entity registry items (#84239) 2022-12-20 12:10:46 +01:00
Daniel Gangl 8ca92254b6
Correct zamg config flow comments (#81369)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
fixes undefined
2022-12-20 11:47:32 +01:00
Erik Montnemery fd9124279b
Add minor version to area registry store (#84280) 2022-12-20 11:41:35 +01:00
Erik Montnemery f88ed6b69e
Use dict.setdefault in registry migration code (#84277) 2022-12-20 11:31:31 +01:00
Michaël Arnauts 7142b4ecac
Fixes some grammar mistakes (#84283) 2022-12-20 11:10:31 +01:00
Nyro 2c238baa24
Add missing preset for Overkiz atlantic electrical heater (#84080)
Readd missing preset for atlantic electrical heater
2022-12-20 10:06:24 +01:00
Jelte Zeilstra 3fc667f55d
Fix error when describing deCONZ events of removed devices (#84194)
* Fix error when describing deCONZ events of removed devices

* Apply suggestions from code review

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2022-12-20 10:06:01 +01:00
Aaron Godfrey 3405fa60ec
Add more types to the todoist integration (#84210)
* Add more types to the todoist integration.

* Update tests.

* Update homeassistant/components/todoist/calendar.py

Pass f-string directly to strftime.

Co-authored-by: Allen Porter <allen.porter@gmail.com>

* Add back mistakenly removed local var.

Co-authored-by: Allen Porter <allen.porter@gmail.com>
2022-12-19 20:29:57 -08:00
Laurent Martin c212e317c3
fix provider name: linky is for electricity. (#84273) 2022-12-19 21:12:27 -07:00
J. Nick Koston 074dec36ad
Add foundation for passive scanning support to switchbot (#84260) 2022-12-19 16:55:18 -10:00
J. Nick Koston 53363cf7e8
Implement an active update coordinator for polling ble devices that get data from both advertisements and active connections (#84207) 2022-12-19 16:09:29 -10:00
GitHub Action 7f8c4293b4 [ci skip] Translation update 2022-12-20 00:23:39 +00:00
Aaron Bach ace20782f1
Clean up Notion config flow (and tests) (#84007)
* Clean up Notion config flow (and tests)

* Code review
2022-12-19 15:03:58 -07:00
Erik Montnemery 0d8cd2d067
Shuffle some device registry WS code (#84243)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-12-19 21:56:07 +01:00
Robert Svensson af272c6730
Fix Styrbar device trigger mapping in deCONZ (#84257) 2022-12-19 21:48:11 +01:00
J. Nick Koston 88ef8cc51a
Bump bluetooth-data-tools to 0.3.1 (#84258)
changelog: https://github.com/Bluetooth-Devices/bluetooth-data-tools/compare/v0.3.0...v0.3.1
2022-12-19 22:45:39 +02:00
Franck Nijhof 5651f4a3fe
Remove Deutsche Bahn integration (#84236) 2022-12-19 21:43:28 +01:00
epenet f988a1164d
Use UnitOfPressure in integrations (#84230) 2022-12-19 21:41:46 +01:00
Aaron Bach 0ccac69ce1
Remove `airvisual_pro` code from `airvisual` (#84254) 2022-12-19 12:32:33 -07:00
majuss 1a476258c7
Bump lupupy to 0.2.4 (#84252) 2022-12-19 09:24:31 -10:00
Allen Porter df23f03131
Bump ical to 4.2.4 (#84248) 2022-12-19 10:00:38 -08:00
Aaron Bach 09ae02fd56
Migrate AirVisual Pro devices to the `airvisual_pro` domain (#83882)
* Migration AirVisual Pro devices to the `airvisual_pro` domain

* Fix tests

* Remove airvisual_pro dependency

* Add repairs item

* Only fire repairs issue if automations exist

* Fix tests
2022-12-19 10:48:36 -07:00
J. Nick Koston 7c13e7cdfd
Use a single source of data for switchbot (#84215) 2022-12-19 07:47:42 -10:00
Franck Nijhof 6e612a45ff
Update watchdog to 2.2.0 (#84245) 2022-12-19 18:09:04 +01:00
epenet 418be1eeb6
Use UnitOfElectricCurrent in integrations (#84231) 2022-12-19 16:59:39 +01:00
Franck Nijhof 026f660889
Update spotipy to 2.22.0 (#84244) 2022-12-19 16:44:13 +01:00
epenet f4c13645d2
Add support for CCF volume unit (#84029) 2022-12-19 14:57:04 +01:00
ollo69 3351846b0e
Add integration-type property to Nut manifest (#84020) 2022-12-19 14:46:40 +01:00
Franck Nijhof ee10f9c4ce
Update sentry-sdk to 1.12.1 (#84234) 2022-12-19 14:08:03 +01:00
Rami Mosleh 099a653bed
Remove name key from transimssion services (#83974) 2022-12-19 13:38:54 +01:00
J. Nick Koston bb3feceb57
Fix connectable Bluetooth devices not going available after scanner recovers (#84172) 2022-12-19 13:37:29 +01:00
epenet 1ab6352a87
Adjust units in lcn (#84051)
* Use unit enumerators in lcn

* Don't mix lcn units with home assistant units
2022-12-19 13:24:25 +01:00
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
Aaron Godfrey fe2e357ae9
Upgrade attrs to 22.1.0 (#84205) 2022-12-19 12:40:30 +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