Unit field ignored in secondary_info
lbandi2 opened this issue · comments
I've tried many combinations before opening this issue. The problem is that I can't seem to make the unit of measurement show in secondary info:
- entity: sensor.fridge_consumption
type: custom:multiple-entity-row
secondary_info:
entity: sensor.fridge_consumption
unit: "Watts"
The unit
field get's completely ignored, the result is I get the value in secondary info but no unit of measurement. Not only it ignores the one I provide, but it also ignores the original unit of the sensor.
I've tried this in another case by adding another entity and it shows the unit of measurement no problem:
- entity: sensor.fridge_consumption
type: custom:multiple-entity-row
secondary_info:
entity: sensor.fridge_consumption
unit: "Watts"
entities:
- entity: sensor.fridge_consumption
unit: "Watts"
Am I doing something wrong? Per the documentation I think it should work.