Commit Graph
77403 Commits
Author SHA1 Message Date
epenetandGitHub 9719f817c0 Bump ruff to 0.0.256 (#89734) 2023-03-15 10:07:12 +01:00
J. Nick KostonandGitHub 59de7f3057 Migrate EventData management to a table manager (#89716) 2023-03-14 21:40:59 -10:00
Joakim PlateandGitHub bf8c4cae27 Update to nibe 2.1.4 (#89686) 2023-03-15 06:01:34 +01:00
a91055cc2a Fix additional typing in local calendar tests (#89704)
* Fix additional typing in local calendar tests

* Update tests/components/local_calendar/test_calendar.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-14 19:33:46 -07:00
J. Nick KostonandGitHub b906d67c1e Fix filtered purge not removing newer events (#89721) 2023-03-14 16:33:19 -10:00
Penny WoodandGitHub 858fc30fcd Fix infinite loop in sun.sun (#89723) 2023-03-14 16:27:29 -10:00
Allen PorterandGitHub 4ddcb14053 Add additional CalendarEvent validation (#89533)
Add additional event validation
2023-03-14 20:27:38 -04:00
Jack BoswellandGitHub c33ca4f664 Add diagnostics to Starlink (#86328) 2023-03-14 22:24:47 +01:00
J. Nick KostonandGitHub 0630b7b962 Reduce size of load query to prime event_types and states_meta at startup (#89677) 2023-03-14 21:31:31 +01:00
Erik MontnemeryandGitHub c2c809682a Tweak OTBR tests (#89694) 2023-03-14 21:26:16 +01:00
J. Nick KostonandGitHub a6d6807dd0 Add typing to statistics results (#89118) 2023-03-14 09:06:56 -10:00
Marcio Granzotto RodriguesandGitHub 9d2c62095f Bump bond-async to 0.1.23 (#89697) 2023-03-14 08:44:55 -10:00
Ernst KlamerandGitHub d1969fd0c2 Add water sensor to bthome (#89595)
* Add water sensor to bthome

* Use TOTAL state class for gas water and energy
2023-03-14 19:26:05 +01:00
epenetandGitHub 71dc98a39c Improve hass_ws_client type hint in tests (#89703) 2023-03-14 16:31:40 +01:00
1bc4802c04 Move local calendar text fixtures to conftest.py (#89674)
* Move local calendar text fixtures to conftest.py

* Apply suggestions from code review

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Add imports for suggested typing fixes

* Apply suggestions from code review

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-14 08:12:44 -07:00
Erik MontnemeryandGitHub 85e0177195 Add WS command for connecting OTBR to a known Thread network (#89692)
* Add WS command for connecting OTBR to a known Thread network

* Add test
2023-03-14 15:28:06 +01:00
Bram KragtenandGitHub a213ef2475 Add websocket command to set preferred thread dataset (#89700) 2023-03-14 15:27:31 +01:00
Aidan TimsonandGitHub 73e1942eeb Update entity names to capitalize first word only for System Bridge (#89688) 2023-03-14 12:28:43 +01:00
epenetandGitHub 2809a686be Remove duplicate code in nextcloud (#89681) 2023-03-14 12:14:29 +01:00
ec1b8b616f Debounce and group MQTT subscriptions (#88862)
* Debounce and group mqtt subscriptions

* Cleanup

* Do not cooldown on resubscribe

* Remove lock from task

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* ruff

* Longer initial cool down. Manages unsubscribes

* Own lock for access to self._pending_subscriptions

* adjust

* Subscribe to highest QoS when sharing subscription

* do not block _pending_subscriptions_lock with io

* Test the highest qos is subscribed at

* Cleanup max qos

* Follow up comments part 1

* Make docstr more generic

* Make max qos update thread safe

* Add lock on clearing _max_qos when resubscribing

* Wait for linger task

* User copy

* Check for key before cleaning up

* Fix lingering task

* Do not use a lock

* do not await _async_queue_subscriptions

* Replace copy with assignment

* Update max qos before returning

* Do not iterate if max_qos == 0

* Do not ieterate subs if max qos == 0

* Set initial cooldown correctly

* Ensure discovery cooldown ends after subscribing

* plan last subscribe with debouncer timeout

* cooldown if self._pending_subscriptions is set

* Revert format changes

* Remove stale assingnment self._last_subscribe

* Remove not used property

* Also check while for pending subscriptions

* revert first added sleep()

* Optimize

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-03-14 11:13:55 +01:00
J. Nick KostonandGitHub 03b204f445 Execute sql queries in the database executor when using the recorder database (#89673) 2023-03-14 10:56:02 +01:00
J. Nick KostonandGitHub dbc0890ce8 Add index to event_type and entity_id (#89676) 2023-03-14 10:09:21 +01:00
epenetandGitHub b620e5d8a6 Move nextcloud constants (#89679) 2023-03-14 09:51:03 +01:00
cbee1ba496 Increase timeout for coolmaster with swing (#87573)
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-03-14 09:47:26 +01:00
Paulus SchoutsenandGitHub d084e70aff 2023.3.4 (#89647) 2023.3.4 2023-03-14 00:10:23 -04:00
J. Nick KostonandGitHub 2cb673db04 Handle bytes data in sql sensors (#89169) 2023-03-13 18:07:05 -10:00
afa58b80bd Default to recorder db for SQL integration (#85436)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-03-13 17:41:32 -10:00
puddlyandPaulus Schoutsen 69582b7ecb Bump ZHA dependencies (#89667)
* Bump `zha-quirks` library and account for `setup_quirks` signature

* Bump other ZHA dependencies

* Revert zigpy bump
2023-03-13 22:06:05 -04:00
Erik MontnemeryandGitHub 2f4e9c8ef3 Use otbr domain as dataset source (#89653) 2023-03-13 20:56:09 -04:00
Aidan TimsonandGitHub a99f6f7124 Handle ConnectionClosedException from System Bridge (#89654)
Handle unretrieved ConnectionClosedException from System Bridge
2023-03-13 20:55:37 -04:00
Aidan TimsonandGitHub 6809bd3029 Remove incorrect state class for System Bridge sensors (#89655) 2023-03-13 20:54:49 -04:00
J. Nick KostonandGitHub 8e242c1fe6 Force binary build of sqlalchemy wheels (#89658)
Force binary build of sqlalchemy
2023-03-13 20:52:53 -04:00
J. Nick KostonandGitHub 6713253553 Bump ulid-transform to 0.4.2 (#89666)
32 bit fixes

changelog: https://github.com/bdraco/ulid-transform/compare/v0.4.0...v0.4.2
2023-03-13 20:52:27 -04:00
puddlyandGitHub cbffaf30ba Bump ZHA dependencies (#89667)
* Bump `zha-quirks` library and account for `setup_quirks` signature

* Bump other ZHA dependencies

* Revert zigpy bump
2023-03-13 20:52:01 -04:00
Mick VleeshouwerandGitHub 0442a189e9 Add silent option for DynamicShutter (ogp:Shutter) in Overkiz (#89164)
Add new switch
2023-03-14 00:42:12 +01:00
Pascal VizeliandGitHub 5104e7f51a Use C-Extension for sqlalchemy (#89661) 2023-03-13 22:22:28 +01:00
Paulus Schoutsen 160518350f Bump SQLAlchemy to 2.0.6 (#89650) 2023-03-13 14:54:27 -04:00
Paulus SchoutsenandGitHub 8a4233ac8e Bump SQLAlchemy to 2.0.6 (#89650) 2023-03-13 08:51:01 -10:00
Erik MontnemeryandGitHub d422b0dcc2 Make OTBR add newly created dataset to thread credential store (#89645) 2023-03-13 14:09:09 -04:00
starkillerOGandGitHub d54259f9ac Bump reolink-aio to 0.5.5 (#89646) 2023-03-13 18:47:00 +01:00
Paulus Schoutsen daa5718a80 Bumped version to 2023.3.4 2023-03-13 13:26:50 -04:00
tomrennenandPaulus Schoutsen f5562e93ac Improved "ON" state check for Use room sensor for cooling (#89634) 2023-03-13 13:26:44 -04:00
Erik MontnemeryandPaulus Schoutsen d2f90236d1 Rename modules named repairs.py which are not repairs platforms (#89618) 2023-03-13 13:26:43 -04:00
J. Nick KostonandPaulus Schoutsen 65c614421a Increase maximum aiohttp connections to 4096 (#89611)
fixes #89408
2023-03-13 13:26:41 -04:00
Eugenio PanaderoandPaulus Schoutsen 22922da607 Bump aiopvpc to 4.1.0 (#89593) 2023-03-13 13:26:40 -04:00
J. Nick KostonandPaulus Schoutsen ca0304ffc4 Fix get_significant_states_with_session query looking at legacy columns (#89558) 2023-03-13 13:26:39 -04:00
Robert SvenssonandPaulus Schoutsen 950a1f6e9e Bump pydeconz to v110 (#89527)
* Bump pydeconz to v109

* Bump pydeconz to v110 for additional color modes
2023-03-13 13:26:38 -04:00
rappenzeandPaulus Schoutsen 1e7f58d859 Fix bug in fibaro cover (#89502) 2023-03-13 13:26:37 -04:00
J. Nick KostonandPaulus Schoutsen 7cb4620671 Fix data migration never finishing when database has invalid datetimes (#89474)
* Fix data migration never finishing when database has invalid datetimes

If there were impossible datetime values in the database (likely
from a manual sqlite to MySQL conversion) the conversion would
never complete

* Update homeassistant/components/recorder/migration.py
2023-03-13 13:26:36 -04:00
8c2569d2ce Reconnect on any ScreenLogic exception (#89269)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-03-13 13:26:34 -04:00