Commit graph

8 commits

Author SHA1 Message Date
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