Commit Graph

43226 Commits (ecf6922ade48559d7a4b8667335a778f0aa4f957)

Author SHA1 Message Date
J. Nick Koston ecf6922ade
Bump yalexs_ble to 2.1.0 (#89772)
switches to using cryptography to reduce the number of deps

changelog: https://github.com/bdraco/yalexs-ble/compare/v2.0.4...v2.1.0
2023-03-15 23:47:26 -04:00
J. Nick Koston ed27dae173
Small cleanups to recorder history (#89774)
* Small cleanups to recorder history

* Small cleanups to recorder history

* fixes

* flake8 cannot figure it out
2023-03-15 23:44:33 -04:00
J. Nick Koston 99d6b1fa57
Migrate States to use a table manager (#89769) 2023-03-15 16:19:43 -10:00
J. Nick Koston e379aa23bd
Migrate StateAttributes to use a table manager (#89760)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-03-15 15:26:29 -10:00
Matthias Alphart a360da8bc3
Update xknx to 2.7.0 (#89765) 2023-03-15 23:28:43 +01:00
J. Nick Koston 69078b5aed
Bump pyblackbird to 0.6 for py3.11 (#89719) 2023-03-15 12:14:49 -10:00
J. Nick Koston aec2d63302
Add keep_days to recorder.purge_entities (#89726) 2023-03-15 11:13:47 -10:00
Jan Bouwhuis 6ba5f8e43a
Fix imap server push holding HA startup (#89750) 2023-03-15 21:22:13 +01:00
Raman Gupta 7a267460d3
Cache remote app list for vizio TVs (#89003) 2023-03-15 20:42:23 +01:00
Jack Boswell b43b2eb3cb
Avoid rounding Starlink sensor data & instead allow configurable precision (#89486) 2023-03-15 20:40:22 +01:00
zhangshengdong29 bf21b2622c
ArestData does not have available (#88631) 2023-03-15 19:13:32 +01:00
Michael d4edec2863
Move calculation of current value into lib in Fritz!SmartHome (#89150) 2023-03-15 18:59:03 +01:00
Erik Montnemery b7ac0058af
Fix hassio cleanup when addon in uninstalled (#89756) 2023-03-15 18:56:58 +01:00
Marcel van der Veldt fceb208381
Abort Hue config flow if bridge can not be reached (#88893)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-03-15 18:55:34 +01:00
starkillerOG 4eee626770
Reolink check firmware (#88903) 2023-03-15 18:54:28 +01:00
Maciej Bieniek dea29f539f
Use `SensorDeviceClass.ENUM` and add state attributes translations in Shelly integration (#89660) 2023-03-15 18:52:42 +01:00
epenet c416d18506
Add WAN information to SFR Box (#89678) 2023-03-15 18:49:57 +01:00
PatrickGlesner cb74b934dc
Fix NMBS IndexError (#89698) 2023-03-15 18:09:39 +01:00
Allen Porter b588b8b215
Bump ical to 4.5.0 (#89744) 2023-03-15 18:06:46 +01:00
StefanIacobLivisi 6b768b90b4
Bump aiolivisi to 0.0.19 (#89752) 2023-03-15 18:05:45 +01:00
epenet 8cbb1e542f
Address late feedback for SamsungTV (#89751) 2023-03-15 17:14:27 +01:00
Erik Montnemery 4d3799a9de
Make CalendarEntityFeature an IntFlag (#89733) 2023-03-15 09:22:16 -04:00
jan iversen 6e5b4f9f82
Add modbus hvac_* write registers (#89695) 2023-03-15 14:09:14 +01:00
J. Nick Koston a244749712
Make StatesMetaManager thread-safe when an entity_id is fully deleted from the database and than re-added (#89732)
* refactor to make StatesMetaManager threadsafe

* refactor to make StatesMetaManager threadsafe

* refactor to make StatesMetaManager threadsafe

* refactor to make StatesMetaManager threadsafe

* reduce

* comments
2023-03-15 08:54:02 -04:00
starkillerOG 6a01c3369d
Reolink auto quick reply (#89656) 2023-03-15 12:56:01 +01:00
epenet 6270776fbb
Add turn_on trigger to Samsung TV (#89018)
* Add turn_on trigger to Samsung TV

* Add tests

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Remove assert

* Cleanup mock_send_magic_packet

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-03-15 12:43:53 +01:00
jan iversen cd23caff58
Correct modbus serial method parameter (#89738) 2023-03-15 12:27:45 +01:00
J. Nick Koston 59de7f3057
Migrate EventData management to a table manager (#89716) 2023-03-14 21:40:59 -10:00
Joakim Plate bf8c4cae27
Update to nibe 2.1.4 (#89686) 2023-03-15 06:01:34 +01:00
J. Nick Koston b906d67c1e
Fix filtered purge not removing newer events (#89721) 2023-03-14 16:33:19 -10:00
Allen Porter 4ddcb14053
Add additional CalendarEvent validation (#89533)
Add additional event validation
2023-03-14 20:27:38 -04:00
Jack Boswell c33ca4f664
Add diagnostics to Starlink (#86328) 2023-03-14 22:24:47 +01:00
J. Nick Koston 0630b7b962
Reduce size of load query to prime event_types and states_meta at startup (#89677) 2023-03-14 21:31:31 +01:00
J. Nick Koston a6d6807dd0
Add typing to statistics results (#89118) 2023-03-14 09:06:56 -10:00
Marcio Granzotto Rodrigues 9d2c62095f
Bump bond-async to 0.1.23 (#89697) 2023-03-14 08:44:55 -10:00
Ernst Klamer 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
Erik Montnemery 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 Kragten a213ef2475
Add websocket command to set preferred thread dataset (#89700) 2023-03-14 15:27:31 +01:00
Aidan Timson 73e1942eeb
Update entity names to capitalize first word only for System Bridge (#89688) 2023-03-14 12:28:43 +01:00
epenet 2809a686be
Remove duplicate code in nextcloud (#89681) 2023-03-14 12:14:29 +01:00
Jan Bouwhuis 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 Koston 03b204f445
Execute sql queries in the database executor when using the recorder database (#89673) 2023-03-14 10:56:02 +01:00
J. Nick Koston dbc0890ce8
Add index to event_type and entity_id (#89676) 2023-03-14 10:09:21 +01:00
epenet b620e5d8a6
Move nextcloud constants (#89679) 2023-03-14 09:51:03 +01:00
amitfin 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
J. Nick Koston 2cb673db04
Handle bytes data in sql sensors (#89169) 2023-03-13 18:07:05 -10:00
G Johansson 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
Erik Montnemery 2f4e9c8ef3
Use otbr domain as dataset source (#89653) 2023-03-13 20:56:09 -04:00
Aidan Timson a99f6f7124
Handle ConnectionClosedException from System Bridge (#89654)
Handle unretrieved ConnectionClosedException from System Bridge
2023-03-13 20:55:37 -04:00
Aidan Timson 6809bd3029
Remove incorrect state class for System Bridge sensors (#89655) 2023-03-13 20:54:49 -04:00