Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setPicID referenced before assignment #35

Open
padbol2000 opened this issue Jan 3, 2023 · 1 comment
Open

setPicID referenced before assignment #35

padbol2000 opened this issue Jan 3, 2023 · 1 comment

Comments

@padbol2000
Copy link

padbol2000 commented Jan 3, 2023

Hello,
i'm new user, i use the version 0.7.9
and i can control my air conditionner
but with this error when i choose "auto mode":
Error: Clim: 'onMessage' failed 'UnboundLocalError':'local variable 'setPicID' referenced before assignment'

any idea?
Tx, julien.

@Kydan64
Copy link

Kydan64 commented Apr 2, 2023

Hi,
I have same problem, I solved it by changing line 115.
replace domoticz_levels["mode_pic"] = {"0": 9, "10": 15, "20": 16, "30": 7, "40": 11}
by domoticz_levels["mode_pic"] = {"0": 9, "10": 15, "20": 16, "30": 7, "40": 11, "50": 11}

@dalonsic dalonsic mentioned this issue Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants