Bertrand Roussel
11f5b48724
Add standard deviation calculation to group ( #112076 )
...
* Add standard deviation calculation to group
* Add missing bits
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-05-10 10:16:09 +02:00
J. Nick Koston
bb667abd51
Cleanup some circular imports in group ( #113554 )
2024-03-15 15:45:43 -10:00
Steve HOLWEG
4a128f1225
Return group unit of measurement when device_class is None ( #110973 )
...
* Groups: Return units when device_class is None
* Fixes
* Mods
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-02-25 22:44:05 -05:00
Simon Lamon
fa4433c569
Fix device class repairs issues placeholders in Group ( #110181 )
...
fix translation placeholders
2024-02-10 20:09:02 +01:00
G Johansson
baa511b808
Fix group sensor uom's in not convertable device classes ( #109580 )
2024-02-04 14:56:23 +01:00
Franck Nijhof
6869723003
Fix device class repairs issues UOM placeholders in Group ( #109294 )
2024-02-01 10:20:52 +01:00
Tucker Kern
340df38bd0
Suppress log warnings when a sensor group has non numeric members ( #102828 )
2024-01-31 20:02:21 +01: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
Ville Skyttä
24b1e01d71
Update Ruff to 0.1.8, avoid linter/formatter conflicts ( #106080 )
...
* Disable Ruff rules that may conflict with the formatter
* Upgrade Ruff to 0.1.8
- https://github.com/astral-sh/ruff/releases/tag/v0.1.7
- https://github.com/astral-sh/ruff/releases/tag/v0.1.8
* Format with Ruff 0.1.8
2023-12-20 23:55:09 +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
b885dfa5a8
Add preview to sensor group config and option flows ( #83638 )
2023-08-22 10:29:16 +02:00
Marc Mueller
2618bfc073
Use EventType for state changed [core] ( #97115 )
2023-07-23 18:10:03 -05:00
G Johansson
706e8d5612
Add product calculation to Group sensor ( #87373 )
...
* Group product
* config flow
2023-03-28 09:35:09 +02:00
epenet
4a3c0cd0a8
Adjust docstrings for ruff D404 ( #89077 )
2023-03-03 11:26:13 +01:00
G Johansson
7aa79415c1
Fix unbound variable in Group sensor ( #87878 )
...
* group bound last
* Add test
2023-02-11 16:27:22 +01:00
Franck Nijhof
1b4f4edce2
Don't override icon in sensor group when device class is set ( #87304 )
2023-02-03 16:38:05 +01:00
G Johansson
b3c5c6ae9c
Add sensor to group ( #83186 )
2023-01-24 20:12:27 +01:00