Skip to content

Commit

Permalink
feat(entity-config): Added Giga Joule as an energy unit (#735)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavyLandman authored Nov 3, 2022
1 parent 4e05721 commit 4e8514c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nodes/entity-config/editor/data/sensor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const sensorUnitOfMeasurement: Record<
date: null,
distance: ['km', 'm', 'cm', 'mm', 'mi', 'yd', 'in'],
duration: ['d', 'h', 'min', 's'],
energy: ['Wh', 'kWh', 'MWh'],
energy: ['Wh', 'kWh', 'MWh', 'GJ'],
frequency: ['Hz', 'kHz', 'MHz', 'GHz'],
gas: ['m³', 'ft³'],
humidity: ['%'],
Expand Down

0 comments on commit 4e8514c

Please sign in to comment.