Jan Bouwhuis
986df70fe3
Refactor group setup ( #116317 )
...
* Refactor group setup
* Add @callback decorator and remove commented out code
* Keep set, add default on state
2024-04-28 16:32:17 +02:00
Paul Bottein
ce4db445e8
Update unlocked icon for locks ( #116157 )
2024-04-25 11:21:19 +02:00
Marc Mueller
816ce116bf
Remove unnecessary functools.cached_property backport ( #114239 )
2024-04-04 11:24:26 +02:00
Jan Bouwhuis
3dc8df2403
Get ServiceValidationError message from translation cache only ( #113704 )
...
* Get ServiceValidationError message from translation cache only
* Remove message for NotValidPresetModeError
2024-03-18 14:42:21 +01:00
Sid
82a60fe8ad
Enable Ruff RSE ( #113695 )
2024-03-18 00:40:38 +01:00
J. Nick Koston
b26928878f
Remove group integration platforms that use the default states ( #113562 )
...
Remove group integration platforms that use the default
There is no need to register platforms that use the defaults
as the group code already uses STATE_ON/STATE_OFF when there
are no on/off states in the GroupIntegrationRegistry
2024-03-15 20:51:21 -04:00
J. Nick Koston
c3b5e819c5
Fix group loading too late resulting in incorrect state ( #113262 )
2024-03-13 19:18:15 -10:00
Marc Mueller
aa16a9d707
Add empty line after module docstring (3) ( #112750 )
2024-03-08 20:38:34 +01:00
Marc Mueller
59a6035d3f
Add empty line after module docstring [j-m] ( #112700 )
2024-03-08 09:01:29 -05:00
Franck Nijhof
8c55f8e7f5
Add lock icon translations ( #108467 )
2024-01-20 13:27:36 +01:00
Erik Montnemery
c805ea7b4f
Include deprecated constants in wildcard imports ( #107114 )
2024-01-05 11:46:45 +01:00
J. Nick Koston
2b972f6dba
Add deprecation warning for lock supported features when using magic numbers ( #106620 )
2023-12-28 15:03:14 -10:00
G Johansson
8cd0644035
Add translation to ServiceValidationError in Lock ( #105746 )
2023-12-27 12:50:27 +01:00
J. Nick Koston
d1174593f9
Add support for attribute caching to the lock platform ( #106275 )
2023-12-23 11:08:35 +01:00
Robert Resch
491a50a2f1
Deprecate deprecated lock constants ( #106113 )
2023-12-20 18:07:17 +01:00
Erik Montnemery
104bcc64b7
Allow inheriting base component entity descriptions in frozen dataclasses ( #105512 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-15 23:33:50 -10:00
Jan Bouwhuis
7d21ed41a2
Refactor lock default code handling ( #104807 )
2023-12-04 14:59:51 +01:00
Øyvind Matheson Wergeland
5527cbd78a
Fix default lock code for lock services ( #103463 )
...
* verisure: Support default code from lock entity
* Actually use default lock code
* Typing
* Only pass default code if set
* Avoid passing code as empty string
* Simplified code
2023-11-20 22:38:16 +01:00
Joost Lekkerkerker
b367c95c81
Add more common translations ( #96429 )
...
* Add common translations
* Add common translations
* Add common translations
* Add common translations
* Add common translations
* Add common translations
* Add common translations
* Add common translations
2023-07-12 22:00:05 -04:00
Franck Nijhof
5792301cf1
Migrate lock services to support translations ( #96416 )
...
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2023-07-12 18:16:30 +02:00
Erik Montnemery
b5678a12ec
Add filters to lock/services.yaml ( #95860 )
2023-07-08 11:50:13 +02:00
Erik Montnemery
86a397720f
Move platform_integration_no_support issue to the homeassistant integration ( #95927 )
...
* Move platform_integration_no_support issue to the homeassistant integration
* Update test
* Improve repair text
* Update test
2023-07-07 13:31:54 +02:00
Erik Montnemery
320003bf15
Use entity registry id in lock device actions ( #95272 )
2023-06-26 23:09:26 +02:00
Erik Montnemery
2cfa889750
Use entity registry id in lock device conditions ( #95257 )
2023-06-26 20:30:05 +02:00
Erik Montnemery
e404441e8c
Teach lock device trigger about entity registry ids ( #94975 )
2023-06-21 14:51:09 +02:00
G Johansson
c6feb30c31
Raise issue "does not support platform setup" ( #93585 )
...
* Raise issue on platform missing
* Modify issue
* Remove deprecation
* Fix strings
* Strings
* Last strings
* strings to common
2023-05-28 21:53:32 +02:00
G Johansson
0bda869553
Lock entity options ( #88139 )
2023-05-08 22:06:11 +02:00
Erik Montnemery
6642db917f
Remove legacy services from lock/services.yaml ( #90779 )
2023-04-04 17:03:43 +02:00
Franck Nijhof
f8da3ee50e
Add state attribute translations for locks ( #89820 )
2023-03-16 23:00:45 -04:00
Franck Nijhof
f9919bb7cf
Add pre-defined entity name translations ( #89792 )
2023-03-16 21:10:20 +01:00
Franck Nijhof
298dae55fa
Add missing state translations for Lock entities ( #89795 )
2023-03-16 19:06:35 +01:00
Franck Nijhof
f32b7859b8
Restructure translations for entity components ( #89702 )
2023-03-16 12:16:08 +01:00
epenet
f2b736fad0
Adjust entity registry access in core platforms ( #88944 )
...
* Adjust entity registry access in platforms
* Adjust more core components
2023-03-01 08:02:16 +01:00
J. Nick Koston
bea81d3f63
Fix lock services not removing entity fields ( #88805 )
2023-02-26 18:59:28 -05:00
G Johansson
2b3e6a4ca8
Change name to entity_id for lock validation error message ( #87574 )
2023-02-09 15:59:30 +01:00
Erik Montnemery
1d64ba9d34
Sort manifests 6 ( #87027 )
2023-02-08 20:38:43 +01:00
Franck Nijhof
939eef3b28
Remove translations from Core ( #87543 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Jan Bouwhuis
b03677db1c
Add validation for lock component ( #85842 )
...
* Add validation for lock integration
* Add LockEntityFeature.OPEN for lock group
* Correct tests google_assistant for extra entity
* Validate feature when registering service
* Update tests
* Add LockFeature.OPEN with group
2023-01-23 13:08:00 +01:00
GitHub Action
6220804639
[ci skip] Translation update
2023-01-02 00:23:28 +00:00
GitHub Action
eaf6d43508
[ci skip] Translation update
2022-11-23 00:26:26 +00:00
epenet
a225fc456f
Enforce LockEntityFeature ( #82461 )
2022-11-22 07:15:11 +01:00
GitHub Action
fe5246fb6f
[ci skip] Translation update
2022-11-19 00:26:11 +00:00
epenet
8570d3aabe
Adjust type hints for LockEntityFeature ( #82256 )
2022-11-17 12:47:48 +01:00
epenet
a91abebea8
Use IntFlag for EntityFeature ( #81903 )
2022-11-16 12:43:17 +01:00
Franck Nijhof
2b27cfdabb
Set system & entity integration types ( #79593 )
2022-10-04 10:36:42 -04:00
epenet
64988521bb
Make use of generic EntityComponent (part 2) ( #78494 )
2022-09-17 18:18:53 +02:00
Marc Mueller
af002d9dc4
Use TriggerActionType [core, l-m] ( #76806 )
2022-08-15 17:39:55 +02:00
GitHub Action
bec8e544f4
[ci skip] Translation update
2022-08-14 00:25:47 +00:00
epenet
3a0e816f1b
Adjust device_automation type hints in core platforms 2/3 ( #72210 )
2022-05-23 16:02:36 +02:00
Franck Nijhof
7d2deae592
Clean up use of deprecated async_get_registry methods ( #72001 )
2022-05-17 13:40:19 +02:00