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
d1afcd773f
Revert "Cache entity properties that are never expected to change in the base class" ( #100422 )
...
Revert "Cache entity properties that are never expected to change in the base class (#95315 )"
This reverts commit 042776ebb8
.
2023-09-15 11:25:24 +02:00
J. Nick Koston
042776ebb8
Cache entity properties that are never expected to change in the base class ( #95315 )
2023-09-14 17:48:48 -05:00
Erik Montnemery
d282ba6bac
Use a single WS command for group preview ( #98903 )
...
* Use a single WS command for group preview
* Fix tests
2023-08-24 11:59:24 +02:00
Erik Montnemery
3c10d0e1f7
Deduplicate entities derived from GroupEntity ( #98893 )
2023-08-23 19:20:58 +02:00
Erik Montnemery
6be20b5408
Add preview support to binary sensor group ( #98872 )
2023-08-23 14:24:48 +02:00
Erik Montnemery
3b16a3e1e0
Small typing fix in binary_sensor group ( #98874 )
2023-08-23 14:04:06 +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
Franck Nijhof
368694d6bf
Collection of DeviceClass related typing fixes ( #82931 )
2022-11-29 14:31:25 -05:00
Erik Montnemery
cc8170fcfe
Align code between group platforms ( #74057 )
2022-06-28 08:50:31 +02:00
Erik Montnemery
9b8c3e37bb
Improve group tests ( #73630 )
2022-06-23 21:38:17 +02:00
Erik Montnemery
5ae48bcf74
Add config flow for binary_sensor group ( #67802 )
...
* Add config flow for binary_sensor group
* Address review comments
* Remove device class selection from flow
* Update translation strings
2022-03-10 10:39:51 +01:00
Erik Montnemery
c5dd5e18c0
Improve binary sensor group when member is unknown or unavailable ( #67468 )
2022-03-02 07:53:13 -08:00
epenet
78e92d1662
Adjust pylint plugin to enforce platform type hints ( #64836 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-24 18:51:06 +01:00
Erik Montnemery
8bf8709d99
Simplify groups ( #63477 )
...
* Simplify group
* Rename async_update to async_update_group_state and mark it as callback
* Simplify _async_start
2022-01-07 08:58:45 +01:00
Robert Hillis
488a636aec
Clean up unused loggers ( #57662 )
2021-10-14 10:03:38 -07:00
Erik Montnemery
17efafb2ea
Do not set assumed state for binary sensor groups ( #56190 )
2021-09-13 10:40:24 -07:00
Brian Egge
e638e5bb42
Add component for binary sensor groups ( #55365 )
...
* Add component for binary sensor groups
https://github.com/home-assistant/home-assistant.io/pull/19239
* Accidental push over prior commit
* Add test for any case
* Add unavailable attribute and tests for unique_id
* Added tests for attributes
link to documentation: https://github.com/home-assistant/home-assistant.io/pull/19297
2021-09-13 15:28:37 +02:00