Files
NSPanel_HA_Blueprint/nspanel_eu_code/screensaver.txt
Edward Firmo 3aca4c64d2 Panel offline mode (#900)
* Panel offline mode

Introduces "offline mode" for the panel, which will be used later with a fallback climate.

Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.

* Panel offline mode

* Panel offline mode

* Panel offline mode

* Panel offline mode
2023-06-30 12:24:25 +02:00

42 lines
1.0 KiB
Plaintext

Page screensaver
Attributes
ID : 0
Scope : local
Dragging : 0
Send Component ID : disabled
Locked : no
Swide up page ID : disabled
Swide down page ID : disabled
Swide left page ID : disabled
Swide right page ID: disabled
Events
Preinitialize Event
dim=0
printh 92
prints "nspanelevent",0
printh 00
prints "{\"page\": \"screensaver\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0
printh 00
printh FF FF FF
Touch Release Event
page orign.val
Variable (int32) orign
Attributes
ID : 2
Scope: global
Value: 0
TouchCap wakeup
Attributes
ID : 1
Scope: local
Value: 0
Events
Touch Press Event
page orign.val