openhab / openhab-android

openHAB client for Android
https://play.google.com/store/apps/details?id=org.openhab.habdroid
Eclipse Public License 2.0
606 stars 314 forks source link

App casts the wrong AlarmClock when using DateTime item instead of Number #2304

Closed frest-de closed 3 years ago

frest-de commented 3 years ago

Actual behaviour

I recently update my rules and tried to use a DateTime item for my alarmclock, to get rid of the translation. The rule in the Docs is working well, but I get the wrong time. If I set the alarm for 06:00, the app updates the DateTime item with 05:00. A summertime-wintertime problem?

Environment data

Client

Server

mueller-ma commented 3 years ago

The timestamp is sent in UTC and not the local time zone. I'm going to close this since it's quite similar to #1960.