robbinjanssen / home-assistant-ojmicroline-thermostat Goto Github PK
View Code? Open in Web Editor NEWHome Assistant integration for an OJ Microline Wifi Thermostat
License: MIT License
Home Assistant integration for an OJ Microline Wifi Thermostat
License: MIT License
When changing the mode from heat to auto or back in the dashboard UI I get the following error:
Failed to call service climate/set_hvac_mode. OJMicrolineThermostat.async_set_hvac_mode() got an unexpected keyword argument 'hvac_mode'
Any use of the button at the bottom of the card produces the error. The same error also occurs when clicking the three card dots and instead controlling via the dropdown menu.
This error is 100% reproducible for me. Simply change the heating mode and it will error.
I wonder if this would fix the issue:
async def async_set_hvac_mode(self, _hvac_mode: str) -> bool:
->
async def async_set_hvac_mode(self, hvac_mode: str) -> bool:
Roughly every 3 minutes, the sensor will become unavailable with the following entries in the log file:
[Sensorname] became unavailable
4:05:27 AM - In 1 second
[Sensorname] Online became unavailable
4:05:27 AM - In 1 second
[Sensorname] Heating became unavailable
4:05:27 AM - In 1 second
It resumes after about a minute.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are awaiting their schedule. Click on a checkbox to get an update now.
.github/workflows/draft-release.yaml
release-drafter/release-drafter v6.0.0
.github/workflows/hacs.yml
actions/checkout v4.1.7
.github/workflows/hassfest.yaml
actions/checkout v4.1.7
.github/workflows/issues.yaml
dessant/lock-threads v5.0.1
actions/stale v9.0.0
.github/workflows/linting.yaml
actions/checkout v4.1.7
actions/setup-python v5.1.0
actions/checkout v4.1.7
actions/setup-python v5.1.0
actions/checkout v4.1.7
actions/setup-python v5.1.0
actions/checkout v4.1.7
actions/setup-python v5.1.0
actions/checkout v4.1.7
actions/setup-python v5.1.0
.github/workflows/sync-labels.yaml
actions/checkout v4.1.7
micnncim/action-label-syncer v1.3.0
.github/workflows/verify-pr-labels.yaml
jesusvasquez333/verify-pr-label-action v1.4.0
pyproject.toml
poetry-core >=1.0.0
pyproject.toml
python >=3.11,<3.13
voluptuous ^0.15.0
codespell 2.3.0
mypy 1.10.1
pre-commit 3.7.1
pre-commit-hooks 4.6.0
pylint 3.2.4
ruff 0.4.10
yamllint 1.35.1
async-timeout 4.0.3
Thanx for creating this! Just installed via HACS and installation went well. I have a microtemp mwd5 thermostat from micromatic.
When adjusting temperature, the thermostat will always revert to comfort mode, and them resume plan after 4 hours. When i try to set none /manual mode it will revert to 20c, and then back to comfort. I wish to control everything manually
Trying to adjust temperature
The thermostat will after a while switch over to auto / comfort.
"Copy here the code or upload the file"
I on occasion get the following two error messages:
Failed to call service climate/set_temperature. Error occurred while communicating with the OJ Microline API.
and
Failed to call service climate/set_temperature. Timeout occurred while communicating with the OJ Microline API.
Steps to produce is simply to change the set temperature or issue other commands via the card on the dashboard. It's unclear to me when precisely it happens, but it happens fairly regularly for me (I'll try to narrow this down.)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.