Commit Graph
77403 Commits
Author SHA1 Message Date
J. Nick KostonandGitHub 573de95f21 Speed up run time of admin services by using HassJob (#108623) 2024-01-21 22:41:41 -05:00
J. Nick KostonandGitHub 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 CandGitHub da1d530889 Update August diagnostics.py to redact contentToken (#108626) 2024-01-21 14:05:10 -10:00
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 MontnemeryandGitHub e90b42d3d0 Fix FlowHandler show progress (#108586) 2024-01-21 22:40:48 +01:00
David BonnesandGitHub 0566ceca0f Tweak evohome code quality (#107596)
* initial commit

* lint

* initial commit
2024-01-21 22:22:04 +01:00
Ståle Storø HauknesandGitHub fbe1f238d4 Bump airthings-ble to 0.6.0 (#108612) 2024-01-21 11:20:07 -10:00
Joost LekkerkerkerandGitHub 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 KostonandGitHub 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 BeneckeandGitHub 4d5a511001 Add icon translations to co2signal (#108611) 2024-01-21 21:23:11 +01:00
Jonas Fors LellkyandGitHub 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
6525dad57a Add bthome event platform (#108268)
Co-authored-by: Ernst Klamer <e.klamer@gmail.com>
2024-01-21 08:17:55 -10:00
Erik MontnemeryandGitHub b4ab1bac56 Fix numbered list in github config flow (#108587) 2024-01-21 18:02:31 +01:00
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 BouwhuisandGitHub c3da51db4e Icon translation for imap mail count sensor (#108576) 2024-01-21 14:57:00 +01:00
Malte FrankenandGitHub 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 BeneckeandGitHub fcaa2fcf03 Make remaining WLED entities translatable (#108534) 2024-01-21 13:44:32 +01:00
Jan RiegerandGitHub 48c434da86 Add icon translations to DWD Weather Warnings (#108501) 2024-01-21 13:34:26 +01:00
Jan RiegerandGitHub 6a197e93aa Add icon translations to Roborock (#108508) 2024-01-21 13:32:56 +01:00
Jan RiegerandGitHub 969ee5dd9f Add icon translation to Jellyfin (#108559) 2024-01-21 13:30:03 +01:00
Josef ZweckandGitHub 5c0a67a3d2 Add icon translations for lamarzocco (#108569)
icon translations
2024-01-21 13:26:28 +01:00
Jonas Fors LellkyandGitHub 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 LellkyandGitHub 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 KostonandGitHub d885bf886a Ensure button platform does not restore unavailable state (#108316) 2024-01-21 01:04:13 -10:00
Franck NijhofandGitHub fa485513d5 Ensure icon translations aren't the same as the default (#108568) 2024-01-21 12:02:15 +01:00
J. Nick KostonandGitHub ec15b0def2 Always load auth storage at startup (#108543) 2024-01-20 16:16:43 -10:00
MichaelandGitHub 4d46f5ec07 Add icon translations for Pegelonline (#108554)
add icon translations
2024-01-20 20:37:39 -05:00
Florian KisserandGitHub b5bb97c856 Fix zha illuminance measured value mapping (#108547) 2024-01-20 20:37:13 -05:00
J. Nick KostonandGitHub 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 RiegerandGitHub a042073d2f Add nut icon translations (#108471) 2024-01-20 15:17:28 -05:00
Jan RiegerandGitHub d81682e02a Add sun icon translations (#108462) 2024-01-20 15:16:32 -05:00
Jan RiegerandGitHub 1d35665107 Change calendar icon based on state (#108451) 2024-01-20 15:04:29 -05:00
Franck NijhofandGitHub 8a5071ff82 Add time icon translations (#108458) 2024-01-20 14:42:28 -05:00
Erik MontnemeryandGitHub 88dfe8d33b Remove unused TypeVar from config.py (#108495) 2024-01-20 14:39:12 -05:00
Franck NijhofandGitHub 2b90d968b4 Fix hassfest icon schema for service only (#108494) 2024-01-20 14:39:05 -05:00
Franck NijhofandGitHub 6374ee9378 Add cover icon translations (#108460)
* Add cover icon translations

* States -> state
2024-01-20 14:38:53 -05:00
Franck NijhofandGitHub 1804141b27 Add lawn mower icon translations (#108466) 2024-01-20 14:34:10 -05:00
Franck NijhofandGitHub 360ca9de34 Add remote icon translations (#108469) 2024-01-20 14:33:47 -05:00
Franck NijhofandGitHub a06308e6e6 Add stt icon translations (#108474) 2024-01-20 14:33:27 -05:00
Franck NijhofandGitHub 222e2c19f3 Add select icon translations (#108472) 2024-01-20 14:33:08 -05:00
Franck NijhofandGitHub 942636ffd6 Add todo icon translations (#108477) 2024-01-20 14:32:47 -05:00
Franck NijhofandGitHub 74ae79204a Add tts icon translations (#108476) 2024-01-20 14:32:24 -05:00
Ernst KlamerandGitHub 0042a2fef2 Bump bthome-ble to 3.5.0 (#108475) 2024-01-20 14:31:57 -05:00
Franck NijhofandGitHub 70084dcefa Add vacuum icon translations (#108479) 2024-01-20 14:29:31 -05:00
Franck NijhofandGitHub a0d9a1e507 Add valve icon translations (#108480) 2024-01-20 14:28:57 -05:00
Franck NijhofandGitHub bb225e4b38 Add update icon translations (#108481)
* Add update icon translations

* Oops
2024-01-20 14:28:07 -05:00
Franck NijhofandGitHub 8a3b9000aa Add wake word icon translations (#108482) 2024-01-20 14:27:32 -05:00
Franck NijhofandGitHub 858b380e6b Add media player icon translations (#108486) 2024-01-20 14:22:55 -05:00
Franck NijhofandGitHub 06d748cee7 Add weather icon translations (#108488) 2024-01-20 14:21:28 -05:00
Franck NijhofandGitHub 408ba4d850 Add water heater icon translations (#108491) 2024-01-20 14:20:48 -05:00