racsa1
6ca4c5cfe7
Bump pydaikin 2.9.0 ( #87067 )
...
Co-authored-by: rsa <>
2023-02-12 22:23:56 +01:00
G Johansson
8c00f435a6
Change name to entity_id update platform error messages ( #87960 )
2023-02-12 22:18:09 +01:00
Raman Gupta
65d7242c22
Bump zwave-js-server-python to 0.45.2 ( #87822 )
2023-02-12 22:01:37 +01:00
J. Nick Koston
7b9293941e
The recorder/statistic(s)_during_period websocket API now require the statistic_id(s) field ( #87937 )
2023-02-12 14:51:10 -06:00
rappenze
5f4a2a713c
Remove deprecated fibaro yaml config ( #87939 )
2023-02-12 21:50:50 +01:00
Jan Bouwhuis
666aace8a2
Complete partly implemented type hints for `dict` on MQTT platforms ( #87839 )
2023-02-12 21:47:38 +01:00
starkillerOG
168d307762
Netgear allow to remove old devices ( #87849 )
2023-02-12 21:45:54 +01:00
Ernst Klamer
f96e8c82e8
Bump bthome-ble to 2.5.2 ( #87862 )
2023-02-12 21:44:08 +01:00
J. Nick Koston
d1e1734fc7
Use PidfdChildWatcher by default when available ( #87951 )
...
This is a backport from cpython 3.12
https://docs.python.org/3/library/asyncio-policy.html
> PidfdChildWatcher is a “Goldilocks” child watcher implementation. It doesn’t require signals or threads, doesn’t interfere with any processes launched outside the event loop, and scales linearly with the number of subprocesses launched by the event loop. The main disadvantage is that pidfds are specific to Linux, and only work on recent (5.3+) kernels.
https://github.com/python/cpython/pull/98024
There are some additional fixes in cpython 3.12
in https://github.com/python/cpython/pull/94184
when there is no event loop running in the main thread
but this is not a problem we have
2023-02-12 15:41:55 -05:00
Jan Bouwhuis
71b67e20e4
Improve MQTT `Callable` type hints ( #87838 )
2023-02-12 21:24:59 +01:00
J. Nick Koston
1a35c2d805
Avoid creating a task when waiting for the MQTT mid ( #87887 )
2023-02-12 14:24:55 -06:00
J. Nick Koston
f2fb6a9a60
Optimize mqtt matchers ( #87853 )
2023-02-12 14:24:35 -06:00
Ernst Klamer
18d3e4dca8
Fix kegtron state class for volume sensors ( #87950 )
2023-02-12 21:22:21 +01:00
J. Nick Koston
753c7abaf4
Make mqtt websocket subscribe use callback functions ( #87885 )
...
Nothing was being awaited so this was needlessly generating tasks when the callbacks fired
2023-02-12 21:05:37 +01:00
J. Nick Koston
1d4d688af3
Make mqtt discovery use callback functions ( #87883 )
2023-02-12 20:41:03 +01:00
Steffen Zimmermann
87a8a3c166
Bump wiffi to 1.1.2 ( #87798 )
2023-02-12 20:25:03 +01:00
jan iversen
a88676384a
Bump pymodbus to v3.1.3 ( #87841 )
2023-02-12 20:21:59 +01:00
J. Nick Koston
ac97097167
Speed up template lru_caches ( #87942 )
...
By avoiding the argument unpacking these functions are faster
and reduce stack overhead
2023-02-12 14:13:13 -05:00
Chris Straffon
132bc5a4f2
Update growatt_server owners ( #87804 )
2023-02-12 20:12:05 +01:00
J. Nick Koston
e19f8595fa
Small cleanups to template helper ( #87944 )
...
- reduce dict lookups
- avoid split_entity_id
2023-02-12 14:11:48 -05:00
rappenze
69dc50c917
Small code improvements fibaro integration ( #87949 )
2023-02-12 19:56:02 +01:00
Klaas Schoute
60bcbd0473
Bump gridnet to v4.2.0 ( #87903 )
2023-02-12 18:53:05 +01:00
J. Nick Koston
aa8927c98c
Speed up loops with jinja templates ( #87945 )
2023-02-12 18:40:55 +01:00
Allen Porter
4d186366bd
Improve Google Calendar config flow error message when API disabled ( #87889 )
2023-02-12 18:28:44 +01:00
David Bonnes
ffc60d9091
Bump incomfort client library to 0.5.0 ( #87877 )
2023-02-12 18:27:08 +01:00
J. Nick Koston
b054296c42
Speed up selecting which statistics to compile ( #87938 )
2023-02-12 18:15:27 +01:00
Erik Montnemery
10b7c273b1
Bump py-dormakaba-dkey to 1.0.2 ( #87935 )
2023-02-12 09:12:33 -06:00
starkillerOG
97699d1e9d
Bump reolink-aio to 0.4.1 ( #87933 )
2023-02-12 09:12:20 -06:00
Erik Montnemery
4db40810dd
Add support for dormakaba dKey locks ( #87501 )
...
* Add support for dormakaba dKey locks
* Pylint
* Address review comments
* Add test for already configured entry
* Add user flow
* Address review comments
* Simplify config flow
* Add tests
* Sort manifest
* Remove useless _abort_if_unique_id_configured
* Remove config entry update listener
* Simplify user flow
* Remove startup event
* Revert "Simplify user flow"
This reverts commit 0ef9d1c6bb
.
2023-02-12 13:46:31 +01:00
J. Nick Koston
7aa1359c4a
Cache try_parse_enum ( #87911 )
2023-02-12 03:57:36 -06:00
Florent Thoumie
6680e819e5
Fix iaqualink exception handling after switch to httpx ( #87898 )
...
Fix exception handling after switch to httpx
2023-02-12 09:04:59 +01:00
J. Nick Koston
32a6280139
Optimize _sorted_statistics_to_dict to avoid checking which types each loop ( #87901 )
...
* Optimize _sorted_statistics_to_dict to avoid checking which types each loop
* tweak
* avoid some more dict lookups
2023-02-11 23:21:40 -05:00
J. Nick Koston
85649ec589
Reduce overhead to see if an entity is recorded ( #87912 )
...
A significant chunk of list_statistic_ids was checking if the entity
was recorded because it had to get the recorder instance over and
over
2023-02-11 23:21:16 -05:00
J. Nick Koston
e899754919
Bump sqlalchemy to 2.0.3 ( #87913 )
...
changes: https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.3
2023-02-11 23:20:22 -05:00
Diogo Gomes
d0d2c3e7c3
Bump pyipma to 3.0.6 ( #87867 )
...
bump pyipma
2023-02-11 23:18:34 -05:00
rappenze
e1340e6ed4
Replace fiblary3 with pyfibaro library ( #83500 )
...
* Replace fiblary3 with pyfibaro library
* Fix some missing replacements for pyfibaro library
* Remove debug code which was committed accidentially
* Use fibaro_parent_id in another place
* Fix some bugs
* Move more code to the library
* Move has_unit check to correct place
2023-02-11 22:13:12 +01:00
J. Nick Koston
86a93e9fce
Optimize fetching statistics by avoiding recalculating time boundaries ( #87859 )
...
* predictive
* fix conversion error
* fix conversion error
* fix conversion error
* convert day to use new algo
* reduce
2023-02-11 11:41:57 -05:00
J. Nick Koston
34e2751f14
Retrigger Bluetooth discovery when calling async_rediscover_address ( #87884 )
...
* Retrigger Bluetooth discovery when calling async_rediscover_address
* Retrigger Bluetooth discovery when calling async_rediscover_address
* tweak
2023-02-11 16:59:51 +01:00
G Johansson
7aa79415c1
Fix unbound variable in Group sensor ( #87878 )
...
* group bound last
* Add test
2023-02-11 16:27:22 +01:00
Ernst Klamer
a385a00d08
Add support for Govee H5198 ( #87864 )
2023-02-10 15:56:30 -06:00
J. Nick Koston
c35661947a
Optimize fetching statistics by avoiding timestamp conversions ( #87845 )
...
* Optimize fetching statistics by avoiding timestamp conversions
* remove accidential unrelated change
* fix test
* recreate so we handle timezone changes
2023-02-10 11:26:46 -05:00
Mike Heath
b5dfd83c46
Fix Fully Kiosk Browser merging entities when MAC empty ( #87743 )
...
* Fix FKB merging entities when MAC empty
Fully Kiosk Browser will sometimes return an empty MAC address in the
device_info API call. When two Fully Kiosk devices are added with
missing MAC addresses, HA will assume the two devices are the same and
merge the entities. This fixes that problem.
Fixes #77722
* Update homeassistant/components/fully_kiosk/entity.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-10 09:19:09 +01:00
Raman Gupta
8aa64c8008
Add `has_firmware_update_cc` bool to zwave_js/node_status cmd ( #87310 )
...
* Add `has_firmware_update_cc` bool to zwave_js/node_status cmd
* fix test
* Switch order of equality check
2023-02-10 00:49:09 -05:00
Michael Hansen
8cd5106c15
Add HassGetState intent for queries ( #87808 )
...
* Use names instead of entity ids for list
* Add HassGetState for Assist queries
* Add unknown area to test
* Clean up and test device classes
2023-02-09 23:39:46 -05:00
J. Nick Koston
ea356ad260
Optimize fetching weekly/monthly/yearly statistics ( #87747 )
...
* Optimize fetching statistics
* speed up
* avoid double groupby
* avoid another loop
* tweak flow
* fixes
* tweak
* avoid a new dt object in the cache for week/month
* avoid a new dt object in the cache for week/month
2023-02-09 21:22:32 -05:00
Ernst Klamer
9dd806278b
Keep sleepy xiaomi-ble devices that don't broadcast regularly available ( #87654 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
fixes undefined
2023-02-09 16:42:08 -06:00
J. Nick Koston
4cebc767b5
Give users a hint that their bluetooth adapter has been ignored ( #87727 )
2023-02-09 16:41:53 -06:00
J. Nick Koston
84d14cc76a
Add reauthentication support to Yale Access Bluetooth ( #87719 )
...
* Bump yalexs_ble to 1.12.11 to fix reconnect when services fail to resolve
changelog: https://github.com/bdraco/yalexs-ble/compare/v1.12.8...v1.12.11
* bump to make it work with esphome proxy as well
* empty
* Add reauth support to yalexs_ble
* lint
* reduce
* tweak
* tweak
* test for reauth
* Apply suggestions from code review
* cleanup
2023-02-09 22:24:14 +01:00
J. Nick Koston
509de02044
Ensure recorder still shuts down if the final commit fails ( #87799 )
2023-02-09 15:12:40 -06:00
starkillerOG
f96de4ab45
Bump motionblinds to 0.6.16 ( #87782 )
2023-02-09 21:43:28 +01:00
Tom Harris
926534bde2
Bump pyinsteon to 1.3.1 ( #87788 )
...
* Bump pyinsteon to 1.3.1
* Fix record received test
* Fix status received test
2023-02-09 21:40:06 +01:00
Avi Miller
8fddd0e53a
Bump aiolifx to 0.8.9 ( #87790 )
...
Signed-off-by: Avi Miller <me@dje.li>
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-09 21:38:17 +01:00
jan iversen
b9b5a279f2
Correct sensor restore entity in modbus ( #87563 )
...
* Correct sensor restore entity.
* Review comments.
2023-02-09 21:35:44 +01:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const ( #87792 )
...
* Move EntityCategory to homeassistant.const
* Fix more imports
2023-02-09 20:15:37 +01:00
J. Nick Koston
abf0c87e40
Migrate statistics to use timestamp columns ( #87321 )
2023-02-09 12:24:19 -06:00
Erik Montnemery
8ccb3b7151
Fix circular import loop in homeassistant/helpers/entity.py ( #87780 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-09 19:15:53 +01:00
J. Nick Koston
db503c0daa
Always use UTC time for the MariaDB/MySQL session ( #87583 )
2023-02-09 11:39:45 -06:00
Jan Bouwhuis
1a38b9f665
Improve coverage MQTT device_trigger ( #87408 )
...
* Improve coverage MQTT device_trigger
* Use assert
2023-02-09 17:42:32 +01:00
epenet
a13535b0c7
Bump renault-api to 0.1.12 ( #87773 )
...
fix https://github.com/hacf-fr/renault-api/pull/789
2023-02-09 16:55:02 +01:00
G Johansson
2b3e6a4ca8
Change name to entity_id for lock validation error message ( #87574 )
2023-02-09 15:59:30 +01:00
Franck Nijhof
f5b651750c
Enable Ruff ICN001 ( #87775 )
2023-02-09 13:41:50 +01:00
Marc Mueller
67499e0204
Enable pydantic mypy plugin ( #87415 )
2023-02-09 13:33:10 +01:00
Erik Montnemery
2d2ff19949
Round value in state_with_unit template function ( #87619 )
2023-02-09 12:54:59 +01:00
majuss
773446946e
Bump lupupy to 0.2.8 ( #87754 )
2023-02-09 12:49:01 +01:00
John Pettitt
59890cca68
Fix bad battery sense in ambient_station ( #87668 )
2023-02-09 10:36:05 +01:00
J. Nick Koston
b0cbe5cb69
Bump yalexs_ble to 1.12.12 to fix reconnect when services fail to resolve ( #87664 )
...
* Bump yalexs_ble to 1.12.11 to fix reconnect when services fail to resolve
changelog: https://github.com/bdraco/yalexs-ble/compare/v1.12.8...v1.12.11
* bump to make it work with esphome proxy as well
* empty
2023-02-09 09:35:33 +01:00
starkillerOG
bcf8cf4d8b
Add reolink https webhook warning ( #87332 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
fixes undefined
2023-02-09 09:24:18 +01:00
Arturo
1c02f19d9a
Fix matter color temperature light ( #87677 )
...
* Adds tests for each matter light type and fixes small issue with color temperature lights not being detected properly
* Removes commented out code
* Changed matter light tests to pytest.mark.parametrize to reduce duplicate code
2023-02-08 23:41:04 +01:00
J. Nick Koston
1a7c99382c
Revert "Bump aiolifx to 0.8.8" ( #87740 )
2023-02-08 16:36:09 -06:00
starkillerOG
17aee5e3a3
Bump reolink-aio to 0.4.0 ( #87733 )
...
bump reolink-aio to 0.4.0
2023-02-08 22:52:23 +01:00
starkillerOG
0ab30ece68
Netgear ssdp discovery abort if no serial ( #87532 )
...
fixes undefined
2023-02-08 15:38:44 -06:00
Avi Miller
014743a27c
Bump aiolifx to 0.8.8 ( #87729 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-08 15:35:53 -06:00
Marc Mueller
18a3fe1237
Remove platformdirs constraint ( #87735 )
2023-02-08 15:32:03 -06:00
H. Balázs
e1830128cc
Upgrading volvooncall to 0.10.2 ( #87572 )
...
* Upgrading volvooncall to 0.10.2
This release fixes the incorrect remaining time of charging the battery
* updating volvooncall test requirements
* Updating volvooncall requirements
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-02-08 22:28:47 +01:00
Erik Montnemery
b0b1d8143f
Sort manifests 10 ( #87031 )
2023-02-08 20:41:50 +01:00
Erik Montnemery
1d64ba9d34
Sort manifests 6 ( #87027 )
2023-02-08 20:38:43 +01:00
Erik Montnemery
90d7fb8418
Sort manifests 5 ( #87026 )
2023-02-08 20:35:25 +01:00
Erik Montnemery
1450b44c63
Sort manifests 7 ( #87028 )
2023-02-08 20:32:43 +01:00
Erik Montnemery
231aad7a68
Sort manifests 1 ( #87022 )
2023-02-08 20:29:44 +01:00
Erik Montnemery
899adef590
Sort manifests 4 ( #87025 )
2023-02-08 20:27:05 +01:00
Erik Montnemery
23fa500406
Sort manifests 9 ( #87030 )
2023-02-08 20:22:30 +01:00
Erik Montnemery
78c9b70c8d
Sort manifests 3 ( #87024 )
2023-02-08 20:19:19 +01:00
Erik Montnemery
87420e949d
Sort manifests 2 ( #87023 )
2023-02-08 20:16:39 +01:00
Erik Montnemery
5dfb9cddd6
Sort manifests 8 ( #87029 )
2023-02-08 20:13:46 +01:00
Erik Montnemery
6c2702a7b8
Sort manifests 11 ( #87032 )
2023-02-08 20:10:18 +01:00
Erik Montnemery
2246255e90
Create or import thread active dataset when setting up OTBR ( #87186 )
...
* Create a thread active dataset when discovering OTBR
* Align with lib changes
* Use thread preferred dataset if set
* Create a dataset also from the user flow
2023-02-08 19:32:19 +01:00
Erik Montnemery
94519de8dd
Upgrade SQLAlchemy to 2.0.2 ( #86436 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-08 08:17:32 -06:00
Erik Montnemery
93dafefd96
Include entity options in RegistryEntry.as_partial_dict ( #87539 )
2023-02-08 08:32:46 -05:00
starkillerOG
5e214f2e43
Reolink unregistered webhook on unexpected error ( #87538 )
2023-02-08 12:23:27 +01:00
Franck Nijhof
7665c89b83
Remove sneaked in translation from TP-Link Omada ( #87695 )
2023-02-08 11:54:18 +01:00
Franck Nijhof
1c3713d08f
Add studio mode switch to Elgato ( #87691 )
2023-02-08 11:42:53 +01:00
Franck Nijhof
0bf612fa63
Add entity descriptions in Elgato buttons ( #87656 )
2023-02-08 11:09:31 +01:00
Erik Montnemery
45ac8c515e
Update unit system unit conversions ( #87632 )
...
* Update unit system unit conversions
* Tweak tests
2023-02-08 10:52:54 +01:00
Franck Nijhof
6582367917
Add battery sensor to Elgato ( #87680 )
2023-02-08 10:22:12 +01:00
Luke
1bbc03d0ba
Bump oralb-ble to 0.17.5 ( #87657 )
...
fixes undefined
2023-02-07 20:01:36 -06:00
J. Nick Koston
f0118b3d30
Bump cryptography to 39.0.1 for CVE-2023-23931 ( #87658 )
...
Bump cryptography to 39.0.1
CVE-2023-23931
2023-02-07 20:30:16 -05:00
Jc2k
d829a2045a
Fix incorrect unique_id for BLE HomeKit devices ( #87550 )
2023-02-07 19:10:51 -06:00
Thomas Hollstegge
79f385afde
Add myself as codeowner for emulated_hue ( #87659 )
2023-02-07 15:43:47 -06:00
Franck Nijhof
cc3ae5b19b
Mark ESPHome update entity unavailable when device is offline ( #87576 )
2023-02-07 22:15:54 +01:00
Kevin Worrel
c505975940
Use library data to map state class for ScreenLogic ( #87649 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-07 14:13:06 -06:00