Add real-time clock to home automation demo (#8390)

This commit is contained in:
Tasuku Suzuki 2025-05-08 19:19:03 +09:00 committed by GitHub
parent 6ba3b8586e
commit 0051c95b1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 46 additions and 4 deletions

View file

@ -27,13 +27,13 @@ export global Api {
out property <Orientation> orientation <=> AppState.orientation;
in-out property <bool> graphics-accelerator-available <=> AppState.graphics-accelerator-available;
in property <Date> current-date: {
in-out property <Date> current-date: {
year: 2025,
month: 3,
day: 18,
};
in property <Time> current-time: {
in-out property <Time> current-time: {
hour: 15,
minute: 12,
second: 33,