Fix fan.turn_off call

Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
This commit is contained in:
Edward Firmo
2023-08-02 10:27:39 +02:00
parent dc787c5b0d
commit 669ead9e79
18 changed files with 1819 additions and 20 deletions

View File

@@ -12,12 +12,19 @@ Page entitypage02
Events
Preinitialize Event
printh 92
prints "nspanelevent",0
printh 00
prints "{\"page\": \"entitypage02\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0
printh 00
printh FF FF FF
dim=home.brightness.val
if(api==0)
{
page home
}else
{
printh 92
prints "nspanelevent",0
printh 00
prints "{\"page\": \"entitypage02\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0
printh 00
printh FF FF FF
}
Touch Press Event
printh 92