Commit graph

61197 commits

Author SHA1 Message Date
Pascal Reeb
62bc8df964
Fall back to polling if webhook cannot be registered on Nuki ()
fix(nuki): throw warning if webhook cannot be created
2023-04-11 11:13:52 +02:00
Avi Miller
95109072b5
Remove myself as a codeowner of the LIFX integration () 2023-04-11 10:09:53 +02:00
epenet
7b3a932cd9
Remove incorrect constant usage in test () 2023-04-11 10:00:17 +02:00
epenet
2f7c5a56eb
Use tmp_path in recorder tests () 2023-04-11 09:18:16 +02:00
epenet
a7093d3687
Fix flaky filesize tests ()
* Fix flaky filesize tests

* Adjust constant usage

* Once more

* Use joinpath
2023-04-11 08:57:34 +02:00
Aaron Bach
504cedaa87
Bump pytile to 2023.04.0 () 2023-04-10 18:06:26 -06:00
Paulus Schoutsen
1aa8e94224
Voice Assistant: Require sample rate as input ()
Require sample rate as input
2023-04-10 18:28:03 -05:00
David F. Mulcahey
0fee49a32e
Cleanup ZHA from Zigpy deprecated property removal () 2023-04-10 14:16:11 -04:00
starkillerOG
e8142987a7
Reolink config flow fix custom port when USE_HTTPS not selected ()
give USE_HTTPS a default
2023-04-10 12:44:25 -04:00
Diogo Gomes
86fe0c9683
Track availability of source sensor in utility meter ()
* track availability of source sensor

* address review comments
2023-04-10 12:37:45 -04:00
Anthony Mattas
ee1644c24e
Fix configuring Flo instances ()
* Update config_flow.py

Used constant string for consistency

* Update config_flow.py

Removed code for location ID and name the integration using the username

* Update manifest.json

Updated codeowners

* Update config_flow.py

* Update config_flow.py

Formatted with black

* Update manifest.json

Updated codeowners

* Update test_config_flow.py

Updated test
2023-04-10 12:37:36 -04:00
J. Nick Koston
f2d10473eb
Bump orjson to 3.8.10 ()
changelog: https://github.com/ijl/orjson/compare/3.8.9...3.8.10
2023-04-10 12:23:19 -04:00
Allen Porter
cf9ada3b0e
Fix all day event coercion logic () 2023-04-10 12:05:08 -04:00
J. Nick Koston
49079691d4
Reduce overhead of legacy database columns on new installs ()
* Reduce overhead of legacy database columns on new installs

* Reduce overhead of legacy database columns on new installs

* Reduce overhead of legacy database columns on new installs

* Reduce overhead of legacy database columns on new installs

* not working as expected

* override the type compiler

* override the type compiler

* override the type compiler

* override the type compiler

* Apply suggestions from code review

* pgsql char1

* make entity filter test setup with old schema

* fix some more tests that were mutating state

* fix some more tests that were mutating state

* fix some more tests that were mutating state

* fix more dbstate mutations

* add shim for older tests

* split migration tests

* add coverage for purging legacy data

* tweak

* more fixes

* drop some legacy

* fix another test

* fix a few more

* add casts for postgresql in case someone deletes the schema changes table

* dry

* dry

* dry
2023-04-10 10:08:46 -04:00
Allen Porter
14b95ffe3a
Relax calendar event validation to allow existing zero duration events ()
Relax event valudation to allow existing zero duration events
2023-04-10 10:04:42 -04:00
J. Nick Koston
6b9d748529
Bump ulid-transform to 0.6.3 ()
* Bump ulid-transform to 0.6.2

changelog: https://github.com/bdraco/ulid-transform/compare/v0.6.0...v0.6.2

32bit fixes

fixes 

* 0.6.3
2023-04-10 10:03:21 -04:00
J. Nick Koston
a62ede78ca
Reduce space to store state_attributes and event_data for new MariaDB/MySQL databases ()
Since MySQL and MariaDB support unsigned ints we can store the
hashes in 4 bytes instead of 8 bytes
2023-04-10 10:02:42 -04:00
J. Nick Koston
bd0378a961
Bump sqlalchemy to 2.0.9 ()
changes: https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.9
2023-04-10 10:01:49 -04:00
J. Nick Koston
6e9fcbfec1
Fix false positive in SQL sensor full table scan check () 2023-04-09 19:45:08 -10:00
Brett Adams
82c80ec8d2
Bump Advantage Air to 0.4.2 () 2023-04-09 19:04:19 -10:00
hahn-th
a48ede7332
Bump homematicip to 1.0.14 ()
Bump homematicip to 1.0.14
2023-04-09 18:50:34 -04:00
Jörg Thalheim
7e46d7e808
Bump transmission-rpc to 4.1.5 ()
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 () 2023-04-09 16:48:37 -04:00
Michael Davie
78cb0cd1e1
Bump env_canada to 0.5.32 () 2023-04-09 13:35:43 -04:00
J. Nick Koston
66b105fb21
Reduce creation of MQTT related discovery tasks ()
* 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 ()
* 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 ()
* 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 

* comment
2023-04-08 23:13:22 -04:00
J. Nick Koston
59872f1914
Reduce bond fallback polling interval when BPUP is alive ()
* 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 ()
* 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 ()
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 () 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 ()
This has come up over and over and over again

fixes  fixes 
2023-04-08 22:32:56 -04:00
J. Nick Koston
69f751703b
Fix context_user_id round trip when calling to_native ()
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 
2023-04-08 22:31:28 -04:00
J. Nick Koston
3d1556a4a2
Switch back to using call_later for the slow entity update warning ()
* Switch back to using call_later for the slow entity update warning

I had originally changed this to create a task and wait
in  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 () 2023-04-08 16:14:44 -10:00
Brett Adams
667a00e7f9
Handle all three operating modes in Advantage Air climate ()
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 () 2023-04-08 09:25:58 -10:00
Diogo Gomes
fe393c84e2
Delay utility_meter until HA has started ()
* 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 ()
* 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 ()
* 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 () 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 ()
* 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 () 2023-04-07 16:01:53 -10:00
Garrett
77287eb021
Bump subarulink to 0.7.6 () 2023-04-07 21:56:39 -04:00
David F. Mulcahey
90f857e926
Fix Smartthings acceleration sensor in ZHA () 2023-04-07 15:55:37 -10:00
Steven Looman
2f4325246b
Make sure upnp-router is also initialized when first seen through an advertisement () 2023-04-07 13:11:31 -10:00
Joost Lekkerkerker
9b95a04c29
Bump roombapy to 1.6.8 ()
* 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 () 2023-04-07 19:00:03 -04:00
mrwogu
7eccef87c2
Disable lazy discover in xiaomi_miio ()
* Add lazy discover config option to xiaomi_miio ()

* 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 ()
* 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