1
mirror of https://github.com/home-assistant/core synced 2024-10-07 10:13:38 +02:00
Commit Graph

60987 Commits

Author SHA1 Message Date
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
epenet
60692bcfdb
Fix lingering timers in calendar tests (#90845) 2023-04-05 20:46:05 -04:00
Erik Montnemery
4276ce96ea
Use send_json_auto_id in voice_assistant tests (#90857) 2023-04-05 19:07:42 -05: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
epenet
19ab76dad9
Fix lingering timers in sensor tests (#90856) 2023-04-05 19:52:30 +02: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
epenet
acec2fd7db
Fix lingering timers in mailbox tests (#90830) 2023-04-05 14:09:51 +02:00
epenet
84f58543ef
Fix lingering timers in image processing tests (#90829) 2023-04-05 14:09:15 +02:00
epenet
35b642c6c8
Improve type hints in calendar trigger tests (#90827) 2023-04-05 14:08:55 +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
690a0f34e5
Fix glob expansion for partial prettier run (#90787) 2023-04-04 17:27:15 +02:00
Erik Montnemery
6642db917f
Remove legacy services from lock/services.yaml (#90779) 2023-04-04 17:03:43 +02:00
Erik Montnemery
28d85bc405
Run prettier on matter fixture (#90784) 2023-04-04 16:13:08 +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
J. Nick Koston
5e3796c333
Prevent legacy device tracker from creating hundreds of executor jobs (#90690)
* Prevent legacy device tracker from creating hundreds of executor jobs

The legacy device tracker would create an executor job for
each set of extra state attributes and device name lookup.

For routers this meant hundreds of jobs

* Prevent legacy device tracker from creating hundreds of executor jobs

The legacy device tracker would create an executor job for
each set of extra state attributes and device name lookup.

For routers this meant hundreds of jobs

* tweak

* simplify
2023-04-04 08:55:25 -04:00
Martin Hjelmare
535fb34207
Move legacy stt (#90776)
* Move legacy stt to separate module

* Remove case for None as provider

* Add error log for unknown platform

* Add some tests
2023-04-04 14:52:36 +02:00
epenet
584066b809
Rename renault coordinator and base entity (#90760)
Refactor renault coordinator and base entity
2023-04-04 14:38:52 +02:00
epenet
f24634e198
Use domain constants in rest tests (#90765) 2023-04-04 14:33:41 +02:00
Martin Hjelmare
3b2127b1dc
Add core as codeowner for stt integration (#90777) 2023-04-04 08:28:34 -04:00
hidaris
a9e14cd8d7
Preliminary support for Matter cover (#90262)
Preliminary support for Matter cover, curtain tilt support has not been added yet.
2023-04-04 14:16:11 +02:00
Patrick ZAJDA
e962dd64cf
Add translations for Nuki entity name and battery critical state attribute (#90772)
* Add translations for Nuki entity name and battery critical state attribute

Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>

* Remove door sensor name

Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>

---------

Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>
2023-04-04 13:43:51 +02:00
Jan Bouwhuis
9b03d331ca
Fix recovering imap connection triggers re-auth (#90762) 2023-04-04 12:59:57 +02:00
Michael
b4e12d34f6
Add entity name translations to SMS (#90727) 2023-04-04 12:58:42 +02:00
Maciej Bieniek
2f22613cf9
Address late review for NextDNS entity name translations (#90771) 2023-04-04 12:56:39 +02:00
J. Nick Koston
b66a99fe8a
Bump sqlalchemy to 2.0.8 (#90756) 2023-04-04 12:47:54 +02:00
J. Nick Koston
0cc9b2e803
Use slots for discovery dataclasses (#90751) 2023-04-04 12:44:59 +02:00