-
Notifications
You must be signed in to change notification settings - Fork 1
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
Current temperature and battery cannot be read out on sense_control thermostat units #5
Comments
Hi @DrBlokmeister, Thanks for sharing! I created a pull request based on your information. Why did you changed the value of constant "MODULE_TYPE_SENSOR"? I think your change will break the integration for others. So, I added an extra Please check the linked pull request and maybe test it in your home assistant installation? |
Oops! The change was in ccontroller_api.py, line 126. I agree that my change will likely break the integration for others. I'll have a look next week to see if it works. |
Created a new PR - #14 |
Just updated to the latest version and modified the files in the PR (moved the code change to coordinator.py instead of base_coordinator.py). The integration won't load anymore. A log entry is attached below (I redacted my home address):
I rolled back to the previous version and modified the files in the PR. This works. I can view the current temperature and battery percentage with my sense control units. So the PR works as intended, however not with the current version anymore. |
I do not think that this error is related to any change I made recently. I need to update the PR before I can merge it, but nice to know that the initial changes work as intended. In that case I can safely deploy the changes. |
Great integration! I was thinking of improving my python skills and writing my own, but then I found this. Really happy with it! 😊
After installing and setting up, I could only change the temperature setpoint, not the current temperature or battery settings. After a few hours of digging, I managed a containment by modifying const.py and base_coordinator.py. The changes are below:
const.py changed to:
base_coordinator.py changed line 43:
The text was updated successfully, but these errors were encountered: