Commit graph

11 commits

Author SHA1 Message Date
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
J. Nick Koston
bb667abd51
Cleanup some circular imports in group (#113554) 2024-03-15 15:45:43 -10:00
Marc Mueller
8809d3aa88
Add empty line after module docstring [g-i] (#112699) 2024-03-08 08:52:48 -05:00
G Johansson
f9a4840ce2
Group sensor calculate attributes (#106972)
* Group sensor calculate attributes

* Use entity helpers

* Fix sensor tests

* Test change of uom

* Add tests and fix UoM issue

* Fix test

* Fix state class

* repair and logs

* delete issues

* pass through hass

* Update descriotion text to be more descriptive

* Comments

* Add pr to comment

* fix if in updating

* Fix test valid units

* Fix strings

* Fix issues
2024-01-23 08:16:51 +01:00
Erik Montnemery
3e02fb1f07
Add preview support to all groups (#98951) 2023-08-25 08:59:33 +02:00
Erik Montnemery
3c10d0e1f7
Deduplicate entities derived from GroupEntity (#98893) 2023-08-23 19:20:58 +02:00
Marc Mueller
2618bfc073
Use EventType for state changed [core] (#97115) 2023-07-23 18:10:03 -05:00
epenet
4a3c0cd0a8
Adjust docstrings for ruff D404 (#89077) 2023-03-03 11:26:13 +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
Erik Montnemery
824de2ef4c
Modify behavior of lock groups (#74055) 2022-06-28 10:29:56 +02:00
Jason Hunter
94df0844b3
Add lock groups (#68857) 2022-03-29 17:07:23 -07:00