Jörg Thalheim
7e46d7e808
Bump transmission-rpc to 4.1.5 ( #91088 )
...
Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
2023-04-09 16:51:31 -04:00
Robert Hillis
e30c307f9f
Bump aiopyarr to 23.4.0 ( #91110 )
2023-04-09 16:48:37 -04:00
Michael Davie
78cb0cd1e1
Bump env_canada to 0.5.32 ( #91126 )
2023-04-09 13:35:43 -04:00
J. Nick Koston
66b105fb21
Reduce creation of MQTT related discovery tasks ( #90801 )
...
* Reduce creation of MQTT related discovery tasks
Most of the branching can avoid creating a task as it
did not need to await for the majority of cases. We
fallback to creating a task for the cases were we do
need to await.
* comment
* revert
2023-04-08 23:14:22 -04:00
J. Nick Koston
d442f2aedb
Add names to homekit tasks to better track startup problems ( #90802 )
...
* Add names to homekit tasks to better track startup problems
* fix test
2023-04-08 23:13:47 -04:00
J. Nick Koston
3be3226aaa
Convert tasmota discovery callback function to a normal function ( #90865 )
...
* Convert tasmota discovery callback function to a normal function
Nothing was being awaited when the payload had not changed.
This allows us to avoid creating a task.
see #90801
* comment
2023-04-08 23:13:22 -04:00
J. Nick Koston
59872f1914
Reduce bond fallback polling interval when BPUP is alive ( #90871 )
...
* Reduce bond fallback polling interval when BPUP is alive
If push updates are alive we should not check every
10 seconds.
* tweak
* tweak
* coverage
* coverage
* coverage
2023-04-08 23:12:42 -04:00
J. Nick Koston
8fe597b7c6
Clarify HomeKit include behavior in the config flow ( #91106 )
...
* Clarify HomeKit include behavior in the config flow
If a domain is selected to be included and specific entities are
not selected in the domain, all entities will be included in that
domain.
* tweak
2023-04-08 23:12:02 -04:00
J. Nick Koston
a730ee2c43
Bump flux_led to 0.28.37 ( #91099 )
...
changes: https://github.com/Danielhiversen/flux_led/releases/tag/0.28.37
2023-04-08 22:48:01 -04:00
Allen Porter
23af02b941
Make location optional in google calendar create service ( #91061 )
2023-04-08 22:40:39 -04:00
J. Nick Koston
5f0d983df1
Make the device_tracker more forgiving when passed an empty ip address string ( #91101 )
...
This has come up over and over and over again
fixes #87165 fixes #51980
2023-04-08 22:32:56 -04:00
J. Nick Koston
69f751703b
Fix context_user_id round trip when calling to_native ( #91098 )
...
We do not actually use this in the history or logbook
APIs so nothing broke but there was a bug here for anyone
calling this directly
fixes #91090
2023-04-08 22:31:28 -04:00
J. Nick Koston
3d1556a4a2
Switch back to using call_later for the slow entity update warning ( #91067 )
...
* Switch back to using call_later for the slow entity update warning
I had originally changed this to create a task and wait
in #41184 but that does not make sense anymore with newer
cpython as the profile now shows the original method is cheaper
(or I did it wrong the first time)
* fix missing block till done since there is no longer a task being created which would run the event loop once
2023-04-08 22:22:56 -04:00
J. Nick Koston
d0d4ab6056
Require a list of entity ids when fetching history ( #90992 )
2023-04-08 16:14:44 -10:00
Brett Adams
667a00e7f9
Handle all three operating modes in Advantage Air climate ( #91107 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-04-08 13:50:26 -10:00
Michael Davie
5e2b0b23c9
Bump env_canada to v0.5.31 ( #91094 )
2023-04-08 09:25:58 -10:00
Diogo Gomes
fe393c84e2
Delay utility_meter until HA has started ( #91017 )
...
* increase information for end user
* only warn after home assistant has started
* delay utility_meter until HA has startED
2023-04-08 10:36:34 -04:00
tronikos
6c7f2167ff
Android TV Remote: Bump androidtvremote2==0.0.7 ( #91001 )
...
* Bump androidtvremote2 to 0.0.5
* Log exception that caused disconnect
* fix test
* Revert "fix test"
This reverts commit 63fbedd208
.
* Revert "Log exception that caused disconnect"
This reverts commit 110fa881ff
.
* Bump androidtvremote2==0.0.7
2023-04-08 09:50:34 +02:00
Diogo Gomes
b1a23c5f73
Filtered values are no longer rounded if values are not changed/calculated ( #76164 )
...
* address 75732
* catchup
* catchup
* catchup
* catchup
* use default if precision is None
* Update homeassistant/components/filter/sensor.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* fix type hint
* in progress
* refactor
* Update homeassistant/components/filter/sensor.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* add *
* no need to check - review comment
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-04-07 23:26:07 -04:00
Allen Porter
96a3e10ff3
Bump gcal_sync to 4.1.4 ( #91062 )
2023-04-07 22:38:33 -04:00
J. Nick Koston
53d7e33607
Raise an issue for legacy SQL queries that will cause full table scans ( #90971 )
...
* Raise an issue for SQL queries that will cause full table scans
* Raise an issue for SQL queries that will cause full table scans
* Raise an issue for SQL queries that will cause full table scans
* Raise an issue for SQL queries that will cause full table scans
* Update homeassistant/components/sql/sensor.py
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
* coverage
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-04-07 22:32:36 -04:00
J. Nick Koston
dbfd0d50ba
Bump zeroconf to 0.56.0 ( #91060 )
2023-04-07 16:01:53 -10:00
Garrett
77287eb021
Bump subarulink to 0.7.6 ( #91064 )
2023-04-07 21:56:39 -04:00
David F. Mulcahey
90f857e926
Fix Smartthings acceleration sensor in ZHA ( #91056 )
2023-04-07 15:55:37 -10:00
Steven Looman
2f4325246b
Make sure upnp-router is also initialized when first seen through an advertisement ( #91037 )
2023-04-07 13:11:31 -10:00
Joost Lekkerkerker
9b95a04c29
Bump roombapy to 1.6.8 ( #91012 )
...
* Update roombapy to 1.6.7
* Update roombapy to 1.6.8
2023-04-07 19:02:13 -04:00
David F. Mulcahey
62a6a4cd19
Bump ZHA quirks lib ( #91054 )
2023-04-07 19:00:03 -04:00
mrwogu
7eccef87c2
Disable lazy discover in xiaomi_miio ( #82601 )
...
* Add lazy discover config option to xiaomi_miio (#59215 )
* disable lazy_discover for default
* extend tests to support lazy_discover
* revert config option
2023-04-07 16:27:59 +02:00
Joost Lekkerkerker
b8abc1350a
Move plant const to separate file ( #91008 )
...
* Move plant const to separate file
* Fix feedback
* Fix feedback
* Update homeassistant/components/plant/const.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-04-07 13:45:40 +02:00
PatrickGlesner
06e36bcff5
Fix NMBS AttributeError ( #90525 )
...
* Fix NMBS AttributeError (Issue #90505 )
* Set and use API_FAILURE
* Configure the logger to track API failures
* Remove broad exceptions and rewite logging
2023-04-07 12:13:39 +02:00
epenet
9705607db4
Fix lingering timer in cloud ( #90822 )
...
* Fix lingering timer in cloud
* Rename variable
* Improve
* Improve again
* Adjust
* Adjust
* Add property to HassJob instead
* Adjust
* Rename
* Adjust
* Adjust
* Make it read-only
* Add specific test
2023-04-07 11:38:17 +02:00
Aaron Bach
175f38b68a
Bump `aioambient` to 2023.04.0 ( #90991 )
2023-04-06 19:22:27 -10:00
J. Nick Koston
fabfc59dfb
Bump zeroconf to 0.55.0 ( #90987 )
2023-04-06 18:07:17 -10:00
J. Nick Koston
0fb210b886
Bump websockets constraint to 11.0.1+ ( #90901 )
2023-04-06 18:03:33 -10:00
Marc Mueller
823eb23600
Improve proxmoxve generic typing ( #90948 )
2023-04-06 19:32:49 -07:00
J. Nick Koston
9793cae2d3
Bump vallox-websocket-api to 3.2.1 ( #90980 )
...
unblocks https://github.com/home-assistant/core/pull/90901
which will finally fix the races in websockets
2023-04-06 21:19:10 -04:00
J. Nick Koston
398762fdd5
Resume entity id post migration after a restart ( #90973 )
...
* Restart entity id post migration after a restart
If the entity migration finished and Home Assistant was
restarted during the post migration it would never be resumed
which means the old index and space would never be recovered
* add migration resume test
2023-04-06 21:16:45 -04:00
tronikos
d4c10f0a98
Bump androidtvremote2 to 0.0.5 ( #90922 )
2023-04-06 17:54:45 -04:00
Heikki Partanen
0b1241cb8f
Fix verisure autolock ( #90960 )
...
Fix verisure autolock #90959
2023-04-06 16:54:18 -04:00
Jan Bouwhuis
6becf523ec
Fix error after losing an imap connection ( #90966 )
...
Cleanup first after losing an imap connection
2023-04-06 16:46:32 -04:00
Allen Porter
9f5dfdc67c
Bump gcal_sync to 4.1.3 ( #90968 )
2023-04-06 16:44:34 -04:00
Allen Porter
3595e2fd5a
Coerce previously persisted local calendars to have valid durations ( #90970 )
2023-04-06 16:41:38 -04:00
J. Nick Koston
87c22c3ad5
Fix state being cleared on disconnect with deep sleep esphome devices ( #90925 )
...
* Fix state being cleared on disconnect with deep sleep esphome devices
fixes #90923
* fix logic
2023-04-06 16:32:02 -04:00
Steven Rollason
2b46734bd3
Fix command_template sensor value_template not being used if json_attributes set ( #90603 )
...
* Allow value_template to be used if json_attributes set
* Set state to None if no value_template and json_attributes used
* Refactor check for no value_template when json_attributes used
* Updated and additional unit test
* Updated to set _attr_native_value and return if value_template is None
* Update unit test docstring
* Updated test docstring based on feedback
2023-04-06 21:06:31 +02:00
starkillerOG
fca9052430
Bump reolink-aio to 0.5.10 ( #90963 )
...
* use is_doorbell instead of is_doorbell_enabled
* Bump reolink-aio to 0.5.10
2023-04-06 14:35:22 -04:00
Aaron Bach
e9f6a963a0
Bump `aioambient` to 2022.10.0 ( #90940 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-04-06 14:33:41 -04:00
Erik Montnemery
44c89a6b6c
Refactor handling of exposed entities for cloud Alexa and Google ( #89877 )
...
* Refactor handling of exposed entities for cloud Alexa
* Tweak WS API
* Validate assistant parameter
* Address some review comments
* Refactor handling of exposed entities for cloud Google
* Raise when attempting to expose an unknown entity
* Add tests
* Adjust cloud tests
* Allow getting expose new entities flag
* Test Alexa migration
* Test Google migration
* Add WS command cloud/google_assistant/entities/get
* Fix return value
* Update typing
* Address review comments
* Rename async_get_exposed_entities to async_get_assistant_settings
2023-04-06 13:09:45 -04:00
Bram Kragten
0d84106947
Update frontend to 20230406.1 ( #90951 )
2023-04-06 13:08:52 -04:00
Erik Montnemery
b3b83b7bb2
Add a pipeline store to voice_assistant ( #90844 )
...
* Add a pipeline store to voice_assistant
* Improve error handling
* Improve test coverage
* Improve test coverage
* Use StorageCollectionWebsocket
* Correct rebase
2023-04-06 12:55:16 -04:00
Marc Mueller
b2bcdf7c19
Update mypy to 1.2.0 ( #90947 )
...
* Update mypy to 1.2.0
* Add type ignore
2023-04-06 12:51:16 -04:00
Paulus Schoutsen
86e9f6643f
Allow TTS requests to resolve in the background ( #90944 )
2023-04-06 10:42:55 -05:00
Erik Montnemery
59a02cd08c
Allow storing other items than untyped `dict` in `StorageCollection` ( #90932 )
...
Allow storing other items than untyped dict in StorageCollection
2023-04-06 10:57:00 -04:00
Erik Montnemery
8025fbf398
Remove the coronavirus integration ( #90934 )
...
* Remove the coronavirus integration
* Run hassfest and gen_requirements_all
2023-04-06 10:43:09 -04:00
Pascal Reeb
4667b27405
Handle NoURLAvailableError in Nuki component ( #90927 )
...
* fix(nuki): handle NoURLAvailableError
* only try internal URLs
2023-04-06 13:51:37 +02:00
Erik Montnemery
fa308d8e10
Drop unused logger argument for StorageCollection() ( #90913 )
2023-04-06 13:28:34 +02:00
mkmer
3d426e1e2b
Handle Uncaught exceptions in async_update Honeywell ( #90746 )
2023-04-06 10:44:13 +02:00
Michael
03e9cb233f
Add entity name translations to CO2signal ( #90877 )
2023-04-06 10:39:49 +02:00
stickpin
e8cbf439e5
Return empty available programs list if an appliance is off during initial configuration ( #90905 )
2023-04-06 10:38:09 +02:00
J. Nick Koston
96c5e845e5
Guard against invalid ULIDs in contexts while recording events ( #90889 )
2023-04-06 10:34:54 +02:00
J. Nick Koston
19f71b3bb9
Fix entity_id migration query failing with MySQL 8.0.30 ( #90895 )
2023-04-06 10:34:13 +02:00
J. Nick Koston
571204fa44
Fix missing bluetooth client wrapper in bleak_retry_connector ( #90885 )
2023-04-06 10:33:00 +02:00
Aaron Bach
de3f25571d
Bump `simplisafe-python` to 2023.04.0 ( #90896 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-04-06 10:32:35 +02:00
saschaabraham
df40b4bf9f
Bump fritzconnection to 1.12.0 ( #90799 )
2023-04-06 10:31:43 +02:00
J. Nick Koston
e5931dfce2
Bump aiodiscover to 1.4.16 ( #90903 )
2023-04-06 10:30:29 +02:00
Jesse Hills
eb469d6a2f
Move enum mapper to own file to prevent circular dependency ( #90890 )
...
* Move enum_mapper to own file to prevent circular dependency
* Add enum mapper test
2023-04-05 22:55:51 -04:00
J. Nick Koston
2fc34e7cce
Bump ulid-transform 0.6.0 ( #90888 )
...
* Bump ulid-transform 0.6.0
changelog: https://github.com/bdraco/ulid-transform/compare/v0.5.1...v0.6.0
to find the source of the invalid ulids in https://github.com/home-assistant/core/issues/90887
2023-04-05 22:19:43 -04:00
Ernst Klamer
96ed4a1be1
Bump xiaomi-ble to 0.17.0 ( #90806 )
...
Add support for new Xiaomi BLE sensors
2023-04-05 22:14:21 -04:00
epenet
aa218e6f9c
Fix lingering timer in device_tracker ( #90824 )
2023-04-05 21:12:26 -04:00
Paul Bottein
71697df3c2
Add device name fallback if no hostname in PrusaLink ( #90831 )
...
Device name fallback if no hostname in PrusaLink
2023-04-05 21:03:39 -04:00
tronikos
49468ef5d0
Android TV Remote integration ( #89935 )
...
* Android TV Remote integration
* Add diagnostics
* Remove test pem files from when api was not mocked
* Address review comments
* Remove hass.data call in test
* Store the certificate and key in /config/.storage
* update comments
* Update homeassistant/components/androidtv_remote/__init__.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* import callback
* use async_generate_cert_if_missing
---------
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2023-04-05 21:00:40 -04:00
Tom Harris
a6c5b5e238
Fix issue with Insteon All-Link Database loading ( #90858 )
...
Bump to 1.4.1
2023-04-05 20:53:44 -04:00
J. Nick Koston
4c767b2f72
Generate a seperate log message per dumped object for profiler.dump_log_objects ( #90867 )
...
Since some objects are very large we can generate overly large log messages
```
Event data for system_log_event exceed maximum size of 32768 bytes. This can cause database performance issues; Event data will not be stored
```
Reported in https://ptb.discord.com/channels/330944238910963714/427516175237382144/1093069996101472306
2023-04-05 20:53:19 -04:00
Michael
397fbc0e41
Migrate entity unique ids in PI-Hole ( #90883 )
...
* migrate entity unique ids
* Update homeassistant/components/pi_hole/__init__.py
---------
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2023-04-05 20:52:37 -04:00
J. Nick Koston
b4fec762bc
Switch to fnv-hash-fast from fnvhash ( #90761 )
...
* Switch to fnv-hash-fast from fnvhash
Replaces the pure python implemention with a fast cpp one
when available (with fallback to pure python)
changelog: https://github.com/bdraco/fnv-hash-fast/releases/tag/v0.3.1
source: https://github.com/bdraco/fnv-hash-fast/tree/main/src/fnv_hash_fast
* Apply suggestions from code review
* lint
2023-04-05 20:52:23 -04:00
J. Nick Koston
a8f1d033a0
Add MariaDB deadlock retry wrapper to database timestamp column migrations ( #90880 )
...
Add deadlock retry wrapper to timestamp column migrations
fixes #90819
2023-04-05 20:46:56 -04:00
Erik Montnemery
4104659986
Allow import of deprecated audioop module ( #90869 )
2023-04-05 19:03:46 -05:00
J. Nick Koston
ef5d8d83cb
Add constraint for websockets to <11.0 ( #90868 )
2023-04-05 08:03:47 -10:00
shbatm
04cfd7b41d
Use built-in percentage unit for ISY994 relative humidity ( #90863 )
2023-04-05 07:50:06 -10:00
Stackie Jia
5c2af99520
Improve the HomeKit (de)humidifier min/max humidity handling ( #90854 )
2023-04-05 06:35:47 -10:00
Tom Puttemans
3538844181
Support entity name translation in DSMR Reader component ( #90836 )
...
* Use translation_key instead of name for the entity names and enum values
This change allows for the translation of entity names and their values based on a key, instead of having the English text in the code
* Adjusted tariff options order
Not really wrong, but this way it is consistent with all other entities
2023-04-05 10:59:07 -04:00
epenet
c01b1eb013
Adjust async_track_time_interval name argument ( #90838 )
...
Adjust async_track_time_interval naming
2023-04-05 10:58:02 -04:00
Bram Kragten
0f8060fd00
Bump frontend to 20230405.0 ( #90841 )
2023-04-05 16:41:24 +02:00
Erik Montnemery
bff5b75377
Adjust OTBR channel conflict URL ( #90847 )
2023-04-05 16:06:00 +02:00
J. Nick Koston
7cf1926081
Fix BLEDevice not getting updated when details change for remote scanners ( #90815 )
2023-04-05 12:19:37 +02:00
Penny Wood
3ddfe027fd
Master RAS zone ( #90825 )
...
Fixes issue in some systems with different numbering systems
2023-04-05 12:18:54 +02:00
Jan Bouwhuis
94817f61e5
Suppress imap logging on reconnect and presume state ( #90826 )
2023-04-05 12:18:16 +02:00
Paul Bottein
58ac8404ef
Add entity name translations to prusalink entities ( #90833 )
2023-04-05 12:17:00 +02:00
andarotajo
08dd0a5efa
Move dwd_weather_warnings constants to separate file ( #90810 )
...
* Move constants to seperate file
* Use __package__ for the logger name
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-04-05 09:16:17 +02:00
J. Nick Koston
5eb0c35a97
Add names to common helper tasks ( #90803 )
2023-04-05 08:41:15 +02:00
Hans Oischinger
21a873f0af
Remove myself from vicare codeowners ( #90755 )
2023-04-05 08:29:57 +02:00
mletenay
83704f0334
Update to goodwe v0.2.31 ( #90808 )
2023-04-05 07:52:05 +03:00
J. Nick Koston
02c749a111
Bump aioesphomeapi to 10.6.1 ( #90816 )
2023-04-04 17:22:01 -10:00
Mark Adkins
1f7ebe9249
SharkIQ Hotfix - Handle current installations by using default `REGION` ( #90741 )
...
* Add default region on async_setup_entry
* Move logic to migration function
* Move update logic back to setup function, but updates the config if needed.
* Remove commented out code
* Update Tests & Config setting method
* Update homeassistant/components/sharkiq/__init__.py
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* Update homeassistant/components/sharkiq/__init__.py
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* Accept Suggestions & Formatting
---------
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-04-04 21:06:24 -04:00
Fabio De Simone
8495da1af0
Fix bluetooth_le_tracker reporting devices Home when they leave ( #90641 )
...
* fix bluetooth_le_tracker reporting devices Home when they leave
* refactor
* implement tests for BLE service_info.time check
* update bluetooth_le_tracker tests
* tweaks
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-04-04 20:59:57 -04:00
Vincent Knoop Pathuis
03caf63ec2
Remove getattr for Landis+Gyr Heat Meter ( #90637 )
...
* Remove getattr and update tests
* Apply suggestion for test from PR review
* Make constants capitalized
2023-04-04 22:01:35 +02:00
Patrick ZAJDA
e748f0c623
Add entity name translations to Broadlink sensors ( #90783 )
...
* Add entity name translations to Broadlink sensors
Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>
* Update tests
Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
---------
Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-04-04 15:18:41 -04:00
Guy Khmelnitsky
22a1c8f00f
Bump locationsharinglib to 5.0.0 ( #90790 )
...
* Update GoogleMaps intergration dependency
* Update requirements_all.txt
2023-04-04 11:43:20 -07:00
Jan Bouwhuis
4a0d3e881a
Rework MQTT config merging and adding defaults ( #90529 )
...
* Cleanup config merging and adding defaults
* Optimize and update tests
* Do not mix entry and yaml config
* Make sure hass.data is initilized
* remove check on get_mqtt_data
* Tweaks to MQTT client
* Remove None assigment mqtt client and fix mock
2023-04-04 18:12:18 +02:00
Erik Montnemery
6642db917f
Remove legacy services from lock/services.yaml ( #90779 )
2023-04-04 17:03:43 +02:00
Matija Kovacic
e7c5325ba8
Extract Supla base entity into its own file ( #90781 )
...
* Extracting Supla base entity
* Fix improper import
* Making Black happy.
* Use set for membership check
* Making ruff happy.
2023-04-04 16:11:27 +02:00