Commit Graph
77403 Commits
Author SHA1 Message Date
Franck NijhofandGitHub 564f714386 Update pipdeptree to 2.5.0 (#88390) 2023-02-19 18:09:26 +01:00
Franck NijhofandGitHub 17e87556de Add uchardet-dev to Wheels build deps (#88449) 2023-02-19 17:39:17 +01:00
J. Nick KostonandGitHub 9df00bd285 Adjust recorder LRU cache to align with the number of entities (#88350)
* Adjust size of recorder LRU based on number of entities

If there are a large number of entities the cache would
get thrashed as there were more state attributes being
recorded than the size of the cache. This meant we had
to go back to the database to do lookups frequently when
an instance has more than 2048 entities that change
frequently

* add a test

* do not actually record 4096 states

* patch target

* patch target
2023-02-19 00:02:36 -05:00
spycleandGitHub e799f24853 Update keymitt dependency (#88430) 2023-02-18 22:43:28 -06:00
Chris TalkingtonandGitHub 04fabf4838 Update rokuecp to 0.17.1 (#88425) 2023-02-18 22:40:02 -06:00
Teemu RandGitHub 1d928f05fa Update python-kasa to 0.5.1 (#88416) 2023-02-18 22:39:08 -06:00
6cbad61572 Enable Ruff RUF006; Hard reference to asyncio.create_task return value (#88216)
* Enable Ruff RUF006

* Fix test

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-02-18 23:05:44 -05:00
J. Nick KostonandGitHub d4376b2041 Use a single session to compile statistics (#88405)
We had two session_scope contexts in compile_statistics which causes
a commit to happen twice during the compile.
2023-02-18 20:23:47 -05:00
J. Nick KostonandGitHub 3ca9f3c0d5 Only build the recorder SupportedDialect enum once (#88402)
Every call to dialect_name was creating a new enum object
in the recorder
2023-02-18 20:21:14 -05:00
jjlawrenandGitHub 496ab49d80 Bump SoCo to 0.29.1 (#88410)
Bump soco to 0.29.1
2023-02-18 15:02:03 -05:00
Erik MontnemeryandGitHub 06213ee595 Drop sqlachemy_utils workaround (#88393) 2023-02-18 09:18:23 -06:00
Erik MontnemeryandGitHub 1eb20affa1 Update use of sqlalchemy with_variant (#88395) 2023-02-18 09:18:01 -06:00
Tom HarrisandGitHub d84fde8c54 Insteon scenes (#87803)
* Add Insteon scene support

* Bump to pyinsteon 1.3.1

* Add tests

* Bump Insteon Panel to 0.3.1

* Change docstring
2023-02-18 15:52:49 +01:00
epenetandGitHub 1128041899 Add type hints to integration tests (zwave_js) (#88311) 2023-02-18 14:59:26 +01:00
Franck NijhofandGitHub 31061b9f35 Fix snapshots testing repr 0 value IntFlags (#88379) 2023-02-18 07:38:19 -06:00
Franck NijhofandGitHub 1caacab8dd Enable Ruff B014 (#88377) 2023-02-18 07:38:04 -06:00
Erik MontnemeryandGitHub 83e5bf7ae8 Use entity_sources to determine integration in recorder platforms (#88382) 2023-02-18 07:21:41 -06:00
mletenayandGitHub 728f0d5b3b Fix goodwe text(enum) sensors device class (#87914) 2023-02-18 13:39:38 +01:00
Guido SchmitzandGitHub 1279868bf5 Bump devolo_plc_api to 1.2.0 (#88348) 2023-02-18 13:34:26 +01:00
Erik MontnemeryandGitHub f0b7343993 Change state class of weight sensors from total to measurement (#88314) 2023-02-18 13:26:53 +01:00
stickpinandGitHub 4f17f2ef5f Upgrade caldav to 1.1.1 (#88378) 2023-02-18 13:16:46 +01:00
e5e551f4ea Code quality/test improvement to available attributes of LiteJet (#86683)
* PR feedback, and add related tests.

* PR feedback.

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-18 12:43:32 +01:00
jjlawrenandGitHub beaa36c36e Guard against duplicate Sonos discoveries (#88305) 2023-02-18 10:41:25 +01:00
J. Nick KostonandGitHub 714328d2ca Handle key change in Yale Access Bluetooth after first connect (#88282) 2023-02-18 10:40:51 +01:00
Mike HeathandGitHub 4265def234 Allow user FKB config flow to take precendence (#88281) 2023-02-18 10:40:21 +01:00
J. Nick KostonandGitHub 0a7cf2b88c Speed up formatting history data (#88230) 2023-02-18 10:34:44 +01:00
Joakim PlateandGitHub f7609e4f92 Make use of new background task in arcam_fmj (#88351) 2023-02-18 10:28:42 +01:00
J. Nick KostonandGitHub 289bab6f87 Make recorder platform attribute exclude integration aware (#88357) 2023-02-18 10:08:59 +01:00
Marc MuellerandGitHub 97d9951d8a Update mypy to 1.0.1 (#88361) 2023-02-18 10:02:41 +01:00
J. Nick KostonandGitHub 5c09d81f86 Ensure doorbird always prefers internal url (#88369)
* Ensure doorbird always uses internal url

The doorbird should always use the internal url to
ensure the webhooks work. The doorbird does not
verify ssl so there is no concern about ssl matching
according to the LAN-2-LAN API v0.32 Dec 21 2022

* adjust

* Update homeassistant/components/doorbird/__init__.py
2023-02-18 09:33:40 +01:00
Marc MuellerandGitHub 39067f61e4 Sync pytest job needs [ci] (#88363) 2023-02-17 23:25:35 -06:00
Paulus SchoutsenandGitHub db3cd8e276 Fix danglin task for util.timeout (#88366)
Fix danglin task for util timeout
2023-02-18 00:11:35 -05:00
Franck NijhofandGitHub 1e05697080 Enable Ruff B007 (#88356)
* Enable Ruff B007

* Adjust existing cases
2023-02-17 21:08:18 -05:00
9fd35d53e7 Change core return code processing (#88326)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-17 20:56:02 -05:00
Franck NijhofandGitHub 2ea5811e3a Hold strong references to tasks in WLED (#88257) 2023-02-17 23:21:28 +01:00
Joakim SørensenandGitHub fa811da872 Use ubuntu-20.04 for Ruff lint job (#88355) 2023-02-17 23:07:02 +01:00
Joakim SørensenandGitHub 04d51aa8de Do not try to run DB jobs if there are no target groups (#88352) 2023-02-17 22:49:22 +01:00
Franck NijhofandGitHub 6891eb7ed1 Add support for snapshot testing (#88323)
* Add support for snapshot testing

* Use snapshots in Elgato diagnostics test

* Use snapshots in Elgato sensor test

* Fix flake8 warning

* Slightly improve serialized output

* Remove snapshot naming in elgato sensor tests

* Improve snapshoting of via_device_id in device registry item

* Update pylint typehints plugin for snapshot fixture typing

* Use snapshots in Elgato configflow test

* Use snapshots in Bluetooth repair issue tests
2023-02-17 16:35:55 -05:00
Michael HansenandGitHub 325674ec44 Only expose default cloud domains in Assist default agent (#88274)
* Only expose default cloud domains in default agent

* Copy exposed domain list to conversation

* Implement requested changes

* Add test for exposed devices/areas
2023-02-17 16:19:22 -05:00
J. Nick KostonandGitHub 331102e592 Dismiss discoveries when the underlying device disappears (#88340)
* Implement discovery removals

Bluetooth, HomeKit, SSDP, and Zeroconf now implement
dismissing discoveries when the underlying discovered
device disappears

* cover

* add zeroconf test

* cover

* cover bluetooth

* fix rediscover
2023-02-17 15:51:19 -05:00
Paulus SchoutsenandGitHub 710b250c1d Fix dangling task for bluetooth_le_tracker (#88284) 2023-02-17 20:57:45 +01:00
Paulus SchoutsenandGitHub 91ecdc83b2 Fix dangling task for livisi (#88294) 2023-02-17 20:57:00 +01:00
Paulus SchoutsenandGitHub d866b0ddcb Fix dangling task for squeezebox (#88299) 2023-02-17 20:56:27 +01:00
Paulus SchoutsenandGitHub 99c904ea5d Fix dangling task for plum_lightpad (#88295) 2023-02-17 20:55:13 +01:00
Paulus SchoutsenandGitHub 0a363fa004 Fix dangling task for sense (#88296) 2023-02-17 20:54:34 +01:00
Paulus SchoutsenandGitHub 4b3b2fb693 Fix dangling task for smart_meter_texas (#88297) 2023-02-17 20:53:49 +01:00
Paulus SchoutsenandGitHub 28a09199ac Fix dangling task for insteon (#88293) 2023-02-17 20:53:06 +01:00
517e88600c Fix dangling task for mysensors (#88290)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-02-17 20:52:30 +01:00
Paulus SchoutsenandGitHub 5a31bb2ff3 Fix dangling task for crownstone (#88292) 2023-02-17 20:51:22 +01:00
Franck NijhofandGitHub 26f0de0d80 Update pyfido to 2.1.2 (#88343) 2023-02-17 19:51:36 +01:00