OpenEnergyDashboard / OED

Open Energy Dashboard (OED)
Mozilla Public License 2.0
75 stars 263 forks source link

unit with suffix has displayable of none #1210

Closed huss closed 3 months ago

huss commented 5 months ago

Describe the bug

If a unit has a suffix then its displayable should be none. Currently unit create and edit do not enforce this. This shows it does force the type of unit but not the displayable:

image

Expected behavior

Meter do something similar as seen in:

image

and units should warn and set to none.

Additional context

None

danielshid commented 3 months ago

I will be working on this issue.