add doorstatus_ts

master
Dirk Heilig 2023-01-18 13:52:33 +01:00
parent f3a6cecbc0
commit 5a237e8c81
2 changed files with 4 additions and 1 deletions

View File

@ -7,6 +7,9 @@ variables:
doorstatus:
topic: c3re/hhdst
cast: bool
doorstatus_ts:
topic: c3re/hhdst_tsu
cast: int
clubraum_temp:
topic: c3re/clubraumtemp
cast: float

View File

@ -16,7 +16,7 @@
"issue_report_channels": ["email"],
"state": {
"open": "{{doorstatus}}",
"lastchange": "{{doorstatus#timestamp}}",
"lastchange": "{{doorstatus_ts}}",
"icon": {
"open": "https://c3re.de/doorstatus/open.png",
"closed": "https://c3re.de/doorstatus/closed.png"