Merge pull request #15455 from s-hadinger/fix_openhasp_demo

Fix openhasp demo
This commit is contained in:
s-hadinger 2022-04-25 12:04:02 +02:00 committed by GitHub
commit ae93d41b6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,7 @@ end
run_watch()
def p5_in()
import global
global.p0b101.bg_opa = 0
global.p0b102.bg_opa = 0
global.p0b103.bg_opa = 0
@ -46,6 +47,7 @@ def p5_in()
end
def p5_out()
import global
global.p0b101.bg_opa = 255
global.p0b102.bg_opa = 255
global.p0b103.bg_opa = 255