epenet
b43379be7d
Standardize helpers.xxx_registry
imports ( #136688 )
...
Standardize registry imports
2025-01-28 08:48:34 +01:00
epenet
1ec91e7c89
Remove deprecated supported features warning in Lock ( #132642 )
2024-12-09 08:45:36 +01:00
Robert Resch
1d09a5bf89
Remove deprecated lock constants ( #131812 )
2024-11-28 12:21:13 +01:00
G Johansson
93aade6e8e
Change lock state to an enum ( #126379 )
...
* Add new LockState enum for lock states
* Add rest
* Fix insteon tests
* Fix mqtt tests
* Fix tesla_fleet
* Revert back ST_STATE_LOCKED
* Add back constant
2024-09-24 12:30:50 +02:00
G Johansson
7862596ef3
Add open
state to LockEntity ( #111968 )
...
* Add `open` state to LockEntity
* Add tests
* Fixes
* Fix tests
* strings and icons
* Adjust demo open lock
* Fix lock and tests
* fix import
* Fix strings
* mute ruff
* Change sequence
* Sequence2
* Group on states
* Fix ruff
* Fix tests
* Add more test cases
* Sorting
2024-05-08 20:42:22 +02:00
Marc Mueller
1722e23df8
Add empty line after module docstring [tests l-p] ( #112710 )
2024-03-08 14:55:15 +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
Robert Resch
491a50a2f1
Deprecate deprecated lock constants ( #106113 )
2023-12-20 18:07:17 +01:00
Jan Bouwhuis
280637822b
Use mocked entity platform for lock service tests ( #105020 )
...
* Use mocked entity platform for lock service tests
* Cleanup old mock class
* Follow up on code review
* Improve mock entity platform
* Use entity_id of passed entity instead of constant
2023-12-12 15:49:01 +01: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
Jan-Philipp Benecke
0eafc8f2cd
Update k-l* tests to use entity & device registry fixtures ( #103929 )
2023-11-13 20:02:33 +01:00
Ville Skyttä
e7b6037419
Remove unnnecessary pylint configs from components [e-l]* ( #99004 )
2023-08-25 09:46:34 +02:00
G Johansson
0bda869553
Lock entity options ( #88139 )
2023-05-08 22:06:11 +02: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
Franck Nijhof
cf371ea8dd
Remove deprecated base entity classes ( #61006 )
...
* Remove deprecated base entity classes
* Clean up tests
2021-12-05 13:53:52 +01:00
Erik Montnemery
b30d117e7d
Rename LockDevice to LockEntity ( #34594 )
2020-04-25 18:02:41 +02:00