Commit Graph

71348 Commits (ef7e2cfc08bb4d1f1649c99cf8bb53f4be1aaa54)

Author SHA1 Message Date
Joost Lekkerkerker ef7e2cfc08
Add icon translations to Abode (#108407) 2024-01-22 09:06:25 +01:00
Jan-Philipp Benecke 09be3ffc29
Add icon translations to WLED (#108604) 2024-01-22 09:04:37 +01:00
Jan-Philipp Benecke 2a24af14ff
Remove obsolete services.yaml and translations from WLED (#108605) 2024-01-22 09:03:30 +01:00
Joakim Sørensen 94f1f3e40c
Remove numbering from GitHub progress step to not deal with styling of list entries (#108639) 2024-01-22 08:57:48 +01:00
J. Nick Koston fb62b6f01e
Fix unifi test_tracked_clients test (#108638)
Fix unifi test_tracked_clients client

This test relied on the sensor platform getting set up and creating
the device before the device_tracker platform was setup since the
device_tracker platform will disable the entity because there is
not matching device entry for it via

4ee6735cbb/homeassistant/components/device_tracker/config_entry.py (L336)

There is no guarantee the sensor platform will get set up before
the device tracker platform so the test was subject to a race
where it would fail if the device tracker platform was setup first
2024-01-22 08:35:24 +01:00
J. Nick Koston 4ee6735cbb
Small cleanup to zone async_active_zone (#108629) 2024-01-21 19:33:05 -10:00
J. Nick Koston 8d4a1f475e
Bump habluetooth to 2.3.1 (#108628) 2024-01-21 18:39:17 -10:00
J. Nick Koston e9a7870080
Small cleanups to async_get_all_descriptions (#108633) 2024-01-21 18:09:33 -10:00
J. Nick Koston 0b3bcca49b
Avoid string decode/encode round trip in websocket_api get_services (#108632)
The cache was converting from bytes to str and when we read
the cache we converted it back to bytes again
2024-01-21 22:53:45 -05:00
J. Nick Koston a3f9fc45e3
Refactor async_listen_once to remove nonlocal (#108627) 2024-01-21 22:52:47 -05:00
J. Nick Koston 740209912c
Small performance improvements to handing revoke token callbacks (#108625)
- Use a set to avoid linear search for remove
- Avoid recreating the unregister function each time
2024-01-21 22:49:06 -05:00
J. Nick Koston 3d3f4ac293
Avoid recreating persistent notification update function when subscribing (#108624)
I recently came up with an idea to look for callback functions
that get created over and over frequently by adding logging to
homeassistant.core.callback when its called to decorate
a function. This one happens a lot at runtime.
2024-01-21 22:45:45 -05:00
J. Nick Koston 573de95f21
Speed up run time of admin services by using HassJob (#108623) 2024-01-21 22:41:41 -05:00
J. Nick Koston dbb5645e63
Significantly reduce websocket api connection auth phase latency (#108564)
* Significantly reduce websocket api connection auth phase latancy

Since the auth phase has exclusive control over the websocket
until ActiveConnection is created, we can bypass the queue and
send messages right away. This reduces the latancy and reconnect
time since we do not have to wait for the background processing
of the queue to send the auth ok message.

* only start the writer queue after auth is successful
2024-01-21 22:33:31 -05:00
Cody C da1d530889
Update August diagnostics.py to redact contentToken (#108626) 2024-01-21 14:05:10 -10:00
Aaron Godfrey 71e636572f
Send recurrence data when updating a task in todoist (#108269)
* Send recurrence data when updating a task in todoist

* Update tests/components/todoist/test_todo.py

Co-authored-by: Allen Porter <allen.porter@gmail.com>

* Move logic into _task_api_data.

* Add comment about sending potentinally stale data.

---------

Co-authored-by: Allen Porter <allen.porter@gmail.com>
2024-01-21 15:09:08 -08:00
Erik Montnemery e90b42d3d0
Fix FlowHandler show progress (#108586) 2024-01-21 22:40:48 +01:00
David Bonnes 0566ceca0f
Tweak evohome code quality (#107596)
* initial commit

* lint

* initial commit
2024-01-21 22:22:04 +01:00
Ståle Storø Hauknes fbe1f238d4
Bump airthings-ble to 0.6.0 (#108612) 2024-01-21 11:20:07 -10:00
Joost Lekkerkerker 883711fb35
Add icon translations to Withings (#108385)
* Add icon translations to Withings

* Add icon translations to Withings

* Add icon translations to Withings

* Add icon translations to Withings

* Add icon translations to Withings
2024-01-21 21:34:44 +01:00
J. Nick Koston e94493f83d
Use more shorthand attributes in tplink (#108284)
* Use more shorthand attributes in tplink

* naming

* unused
2024-01-21 21:34:06 +01:00
Jan-Philipp Benecke 4d5a511001
Add icon translations to co2signal (#108611) 2024-01-21 21:23:11 +01:00
Jonas Fors Lellky 702529627e
Add missing property in flexit bacnet test (#108606)
Add missing property on mocked device

Also update the snapshot
2024-01-21 20:56:16 +01:00
J. Nick Koston 6525dad57a
Add bthome event platform (#108268)
Co-authored-by: Ernst Klamer <e.klamer@gmail.com>
2024-01-21 08:17:55 -10:00
Erik Montnemery b4ab1bac56
Fix numbered list in github config flow (#108587) 2024-01-21 18:02:31 +01:00
Steven B 9b3d3b3b2d
Add authentication to tplink integration for newer devices (#105143)
* Add authentication flows to tplink integration to enable newer device protocol support

* Add websession passing to tplink integration discover methods

* Use SmartDevice.connect()

* Update to use DeviceConfig

* Use credential hashes

* Bump python-kasa to 0.6.0.dev0

* Fix tests and address review comments

* Add autodetection for L530, P110, and L900

This adds mac address prefixes for the devices I have.
The wildcards are left quite lax assuming different series may share the same prefix.

* Bump tplink to 0.6.0.dev1

* Add config flow tests

* Use short_mac if alias is None and try legacy connect on discovery timeout

* Add config_flow tests

* Add init tests

* Migrate to aiohttp

* add some more ouis

* final

* ip change fix

* add fixmes

* fix O(n) searching

* fix O(n) searching

* move code that cannot fail outside of try block

* fix missing reauth_successful string

* add doc strings, cleanups

* error message by password

* dry

* adjust discovery timeout

* integration discovery already formats mac

* tweaks

* cleanups

* cleanups

* Update post review and fix broken tests

* Fix TODOs and FIXMEs in test_config_flow

* Add pragma no cover

* bump, apply suggestions

* remove no cover

* use iden check

* Apply suggestions from code review

* Fix branched test and update integration title

* legacy typing

* Update homeassistant/components/tplink/__init__.py

* lint

* Remove more unused consts

* Update test docstrings

* Add sdb9696 to tplink codeowners

* Update docstring on test for invalid DeviceConfig

* Update test stored credentials test

---------

Co-authored-by: Teemu Rytilahti <tpr@iki.fi>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-01-21 16:25:12 +01:00
Jan Bouwhuis c3da51db4e
Icon translation for imap mail count sensor (#108576) 2024-01-21 14:57:00 +01:00
Malte Franken a7c94dda73
Add unique id to geonetnz_volcano sensors (#108556)
add unique id to each sensor
2024-01-21 14:03:28 +01:00
Jan-Philipp Benecke fcaa2fcf03
Make remaining WLED entities translatable (#108534) 2024-01-21 13:44:32 +01:00
Jan Rieger 48c434da86
Add icon translations to DWD Weather Warnings (#108501) 2024-01-21 13:34:26 +01:00
Jan Rieger 6a197e93aa
Add icon translations to Roborock (#108508) 2024-01-21 13:32:56 +01:00
Jan Rieger 969ee5dd9f
Add icon translation to Jellyfin (#108559) 2024-01-21 13:30:03 +01:00
Josef Zweck 5c0a67a3d2
Add icon translations for lamarzocco (#108569)
icon translations
2024-01-21 13:26:28 +01:00
Jonas Fors Lellky ed270f558a
Add binary sensors to flexit_bacnet integration (#108571)
* Adds binary sensors to flexit_bacnet integration

* Review comments

* Removes binary sensor for electric heater

Will add switch or service later
2024-01-21 12:35:21 +01:00
Jonas Fors Lellky 7c86ea7e16
Add sensors to the flexit_bacnet integration (#108297)
* Adds sensors to the flexit_bacnet integration

* Add one platform at a time

* Removes commented out code

And restores attributes that are needed

* Review changes

* More review fixes

* Adds translations for the flexit_bacnet sensors

* Review comments

* Adds test for flexit_bacnet sensor

* Refactors the sensor test

* Review comment

* Review comment

* Review comments
2024-01-21 12:04:46 +01:00
J. Nick Koston d885bf886a
Ensure button platform does not restore unavailable state (#108316) 2024-01-21 01:04:13 -10:00
Franck Nijhof fa485513d5
Ensure icon translations aren't the same as the default (#108568) 2024-01-21 12:02:15 +01:00
J. Nick Koston ec15b0def2
Always load auth storage at startup (#108543) 2024-01-20 16:16:43 -10:00
Michael 4d46f5ec07
Add icon translations for Pegelonline (#108554)
add icon translations
2024-01-20 20:37:39 -05:00
Florian Kisser b5bb97c856
Fix zha illuminance measured value mapping (#108547) 2024-01-20 20:37:13 -05:00
J. Nick Koston 3c6e7b188e
Remove OrderedDict from auth_store (#108546)
normal dicts keep track of insert order now so this should
no longer be needed
2024-01-20 20:36:43 -05:00
Jan Rieger a042073d2f
Add nut icon translations (#108471) 2024-01-20 15:17:28 -05:00
Jan Rieger d81682e02a
Add sun icon translations (#108462) 2024-01-20 15:16:32 -05:00
Jan Rieger 1d35665107
Change calendar icon based on state (#108451) 2024-01-20 15:04:29 -05:00
Franck Nijhof 8a5071ff82
Add time icon translations (#108458) 2024-01-20 14:42:28 -05:00
Erik Montnemery 88dfe8d33b
Remove unused TypeVar from config.py (#108495) 2024-01-20 14:39:12 -05:00
Franck Nijhof 2b90d968b4
Fix hassfest icon schema for service only (#108494) 2024-01-20 14:39:05 -05:00
Franck Nijhof 6374ee9378
Add cover icon translations (#108460)
* Add cover icon translations

* States -> state
2024-01-20 14:38:53 -05:00
Franck Nijhof 1804141b27
Add lawn mower icon translations (#108466) 2024-01-20 14:34:10 -05:00
Franck Nijhof 360ca9de34
Add remote icon translations (#108469) 2024-01-20 14:33:47 -05:00