mirror of
https://github.com/home-assistant/core.git
synced 2026-04-27 12:14:35 +01:00
Remove device class timestamp from device condition and trigger (#48431)
* Remove unit from garmin connect * Remove unit from hvv departures * Remove device class timestamp from device condition and trigger * Remove unit from systemmonitor * Use device class constant for timestamp in ring
This commit is contained in:
@@ -24,7 +24,6 @@ UNITS_OF_MEASUREMENT = {
|
||||
sensor.DEVICE_CLASS_ILLUMINANCE: "lm", # current light level (lx/lm)
|
||||
sensor.DEVICE_CLASS_SIGNAL_STRENGTH: SIGNAL_STRENGTH_DECIBELS, # signal strength (dB/dBm)
|
||||
sensor.DEVICE_CLASS_TEMPERATURE: "C", # temperature (C/F)
|
||||
sensor.DEVICE_CLASS_TIMESTAMP: "hh:mm:ss", # timestamp (ISO8601)
|
||||
sensor.DEVICE_CLASS_PRESSURE: PRESSURE_HPA, # pressure (hPa/mbar)
|
||||
sensor.DEVICE_CLASS_POWER: "kW", # power (W/kW)
|
||||
sensor.DEVICE_CLASS_CURRENT: "A", # current (A)
|
||||
|
||||
Reference in New Issue
Block a user