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:
Martin Hjelmare 2021-04-01 15:05:10 +02:00 committed by GitHub
parent efa6079c62
commit fdbef90a57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 26 additions and 25 deletions

View file

@ -42,14 +42,14 @@ GARMIN_ENTITY_LIST = {
],
"wellnessStartTimeLocal": [
"Wellness Start Time",
"",
None,
"mdi:clock",
DEVICE_CLASS_TIMESTAMP,
False,
],
"wellnessEndTimeLocal": [
"Wellness End Time",
"",
None,
"mdi:clock",
DEVICE_CLASS_TIMESTAMP,
False,
@ -299,7 +299,7 @@ GARMIN_ENTITY_LIST = {
"latestSpo2": ["Latest SPO2", PERCENTAGE, "mdi:diabetes", None, True],
"latestSpo2ReadingTimeLocal": [
"Latest SPO2 Time",
"",
None,
"mdi:diabetes",
DEVICE_CLASS_TIMESTAMP,
False,
@ -334,7 +334,7 @@ GARMIN_ENTITY_LIST = {
],
"latestRespirationTimeGMT": [
"Latest Respiration Update",
"",
None,
"mdi:progress-clock",
DEVICE_CLASS_TIMESTAMP,
False,
@ -348,5 +348,5 @@ GARMIN_ENTITY_LIST = {
"physiqueRating": ["Physique Rating", "", "mdi:numeric", None, False],
"visceralFat": ["Visceral Fat", "", "mdi:food", None, False],
"metabolicAge": ["Metabolic Age", "", "mdi:calendar-heart", None, False],
"nextAlarm": ["Next Alarm Time", "", "mdi:alarm", DEVICE_CLASS_TIMESTAMP, True],
"nextAlarm": ["Next Alarm Time", None, "mdi:alarm", DEVICE_CLASS_TIMESTAMP, True],
}