mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-10 21:31:53 +01:00
unitSymbol for GroupItem (#4106)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
This commit is contained in:
parent
38b73bf989
commit
eeb69197c6
@ -99,6 +99,9 @@ public class EnrichedItemDTOMapper {
|
||||
unitSymbol = numberItem.getUnitSymbol();
|
||||
}
|
||||
if (item instanceof GroupItem groupItem) {
|
||||
if (groupItem.getBaseItem() instanceof NumberItem baseNumberItem) {
|
||||
unitSymbol = baseNumberItem.getUnitSymbol();
|
||||
}
|
||||
EnrichedItemDTO[] memberDTOs;
|
||||
if (drillDown) {
|
||||
Collection<EnrichedItemDTO> members = new LinkedHashSet<>();
|
||||
|
Loading…
Reference in New Issue
Block a user