Commit graph

369 commits

Author SHA1 Message Date
epenet
365f8046ac
Use new helper properties in yeelight options flow (#129791) 2024-11-04 16:09:50 +01:00
Steven Looman
39e65c8586
Bump async-upnp-client to 0.41.0 (#127642) 2024-10-05 09:07:10 -05:00
Erik Montnemery
375d47ee3a
Use ConfigFlow.has_matching_flow to deduplicate yeelight flows (#127165) 2024-10-02 08:25:46 +02:00
Alberto Montes
b2401bf2e3
Update string formatting to use f-string on components (#125987)
* Update string formatting to use f-string on components

* Update code given review feedback

* Use f-string

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-09-19 11:38:25 +02:00
epenet
9616d68e03
Improve config flow type hints in yeelight (#125319) 2024-09-10 11:42:44 +02:00
Erik Montnemery
38ef216894
Update icons.json to new service schema part 4 (#124771) 2024-08-28 13:48:13 +02:00
epenet
bcc66c9a86
Standardize import step variable name (part 5) (#124698)
* Standardize import step variable name (part 5)

* Revert point

* Adjust soma tests
2024-08-28 09:51:49 +02:00
epenet
909dfcc436
Improve config flow type hints (part 5) (#124349) 2024-08-25 18:34:39 +02:00
epenet
02a404081a
Fix implicit-return in yeelight (#122943) 2024-08-08 11:33:49 +02:00
J. Nick Koston
d0ba5534cd
Bump async-upnp-client to 0.40.0 (#122427) 2024-07-22 17:04:29 -05:00
Marc Mueller
3a5acd6a57
Use VolDictType for service schemas (#120403) 2024-06-25 12:33:41 +02:00
Steven Looman
55a2645e78
Bump async_upnp_client to 0.39.0 (#120250) 2024-06-23 14:21:56 -05:00
Marc Mueller
25d1ca747b
Use PEP 695 for decorator typing (3) (#117640) 2024-05-17 16:27:32 +02:00
Steven Looman
eb0aa6bb82
Bump async-upnp-client to 0.38.3 (#114447) 2024-03-29 19:08:07 +01:00
J. Nick Koston
2421b42f10
Refactor yeelight scanner to avoid creating tasks to wait for scanner start (#113919) 2024-03-27 10:17:35 +01:00
Joost Lekkerkerker
033dd35655
Add icon translations to Yeelight (#112363)
* Add icon translations to Yeelight

* Add icon translations to Yeelight
2024-03-09 20:48:21 +01:00
Marc Mueller
2c06d4fcb9
Add empty line after module docstring (2) [components] (#112736) 2024-03-08 19:15:59 +01:00
Paulus Schoutsen
f416d67d21
Remove built-in support for import_executor in manifest (#112725) 2024-03-08 12:02:32 -05:00
Marc Mueller
c773d57d39
Add empty line after module docstring [w-z] (#112706) 2024-03-08 10:35:45 -05:00
J. Nick Koston
131068358a
Import yeelight in the executor to avoid blocking the event loop (#112080) 2024-03-02 21:55:55 -05:00
Erik Montnemery
9ec9ac4fd4
Migrate integrations u-z to generic flowhandler (#111866) 2024-02-29 20:08:16 +01:00
J. Nick Koston
ae49b3a274
Add async_schedule_reload helper to the ConfigEntries manager (#110912)
* Add async_schedule_reload helper to the ConfigEntries manager

We have cases where the the setup retry kicks in right before
the reload happens causing the reload to fail with
OperationNotAllowed. The async_schedule_reload will
cancel the setup retry before the async_reload task
is created to avoid this problem.

I updated a few integrations that were most likely
to have this problem. Future PRs will do a more
extensive audit

* coverage

* revert for now since this needs more refactoring in a followup

* cover

* cleanup and fixes
2024-02-20 02:14:45 +01:00
Steven Looman
147a1f7b0b
Bump async-upnp-client to 0.38.2 (#110411) 2024-02-12 15:31:09 -06:00
Marc Mueller
8b0c9d3d18
Use builtin TimeoutError [t-z] (#109683) 2024-02-05 12:20:36 +01:00
Steven Looman
2b389739d3
Bump async-upnp-client to 0.38.1 (#108382) 2024-01-19 16:48:08 -10:00
Marc Mueller
bee53f6004
Add decorator typing [yeelight] (#107598) 2024-01-16 23:18:30 +01:00
Michael Chisholm
64a2c64419
Bump async-upnp-client to 0.38.0 (#105980) 2023-12-19 10:12:30 -10:00
c0ffeeca7
188d6a6eee
W-Z: add host field description (#104996) 2023-12-04 14:48:56 +01:00
Damian Sypniewski
258a93bf19
Bump yeelight to 0.7.14 (#104439) 2023-11-24 08:39:56 +01:00
Steven Looman
aa9301be32
Bump async-upnp-client to 0.36.2 (#102472) 2023-10-21 10:09:09 -10:00
Franck Nijhof
1944b2952c
Replace object select in service calls with more UI-friendly selectors (#101722) 2023-10-10 05:50:12 +02:00
Daniel Rheinbay
135570acab
Add tea time effect to Yeelight (#95936) 2023-10-03 14:53:01 +02:00
Steven Looman
ad17f1622c
Bump async-upnp-client to 0.36.1 (#100961) 2023-09-26 16:32:37 -05:00
J. Nick Koston
6387263007
Bump async-upnp-client to 0.36.0 (#100881) 2023-09-25 16:19:40 -05:00
J. Nick Koston
fc75172d79
Bump async-upnp-client to 0.35.1 (#100248) 2023-09-12 16:35:39 -05:00
Steven Looman
045c514c18
Bump async-upnp-client to 0.35.0 (#99129) 2023-08-27 09:08:58 -05:00
J. Nick Koston
849cfa3af8
Retry yeelight setup later if the wrong device is found (#98884) 2023-08-24 12:04:00 +02:00
Joost Lekkerkerker
732dac6f05
Create abstraction for Generic YeeLight (#97939)
* Create abstraction for Generic YeeLight

* Update light.py
2023-08-16 13:24:41 +02:00
Marc Mueller
8b0fdd6fd2
Use asyncio.timeout [s-z] (#98452) 2023-08-15 14:34:18 +02:00
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
Alex Yao
df8f1328e9
Bump yeelight to v0.7.13 (#97933)
Co-authored-by: alexyao2015 <alexyao2015@users.noreply.github.com>
2023-08-06 12:20:48 -10:00
Joost Lekkerkerker
c7b7ca8769
Add yeelight class to fix superclass issue (#97649)
* Add device naming to Yeelight

* Add extra light entity to fix superclass

* Add extra light entity to fix superclass
2023-08-05 22:36:45 +02:00
Joost Lekkerkerker
357bfc46bf
Revert "Add device naming to Yeelight" (#97647)
Revert "Add device naming to Yeelight (#97639)"

This reverts commit 82f27115f5.
2023-08-03 09:13:23 +02:00
Joost Lekkerkerker
82f27115f5
Add device naming to Yeelight (#97639) 2023-08-02 23:48:37 +02:00
Joost Lekkerkerker
daa76bbab6
Migrate Yeelight to has entity naming (#96836) 2023-07-24 09:39:48 +02:00
J. Nick Koston
051929984d
Bump yeelight to 0.7.12 (#97112) 2023-07-23 17:13:48 -05:00
Steven Looman
9f551c0469
Bump async-upnp-client to 0.34.1 (#97105) 2023-07-23 22:38:21 +02:00
Marc Mueller
77f38e33e5
Import names from typing instead of typing_extensions [3.11] (#97065) 2023-07-22 17:03:44 -05:00
Paulus Schoutsen
7859be6481
Add deduplicate translations script (#96384)
* Add deduplicate script

* Fix forecast_solar incorrect key with space

* Fix utf-8

* Do not create references to other arbitrary other integrations

* Add commented code to only allow applying to referencing integrations

* Tweak

* Bug fix

* Add command line arg for limit reference

* never suggest to update common keys

* Output of script

* Apply suggestions from code review

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

---------

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2023-07-13 11:52:50 -04:00
Franck Nijhof
8d360611d1
Migrate integration services (W-Z) to support translations (#96381) 2023-07-12 07:36:51 +02:00