Comments (5)
Merged & Closed.
Released in 2.1.0. Can be updated through HACS.
from homeassistant-greeclimatecomponent.
Hi,
Thank you for support 8C :)
Here is a suggestion, just a little fix (sorry I don't know github enough)
def UpdateHATargetTemperature(self):
# Sync set temperature to HA
if (int(self._acOptions['StHt']) == 1):
self._target_temperature = 8
else:
self._target_temperature = self._acOptions['SetTem']
_LOGGER.info('HA target temp set according to HVAC state to: ' + str(self._target_temperature))
Reason: AC reports the temperature what is set for normal heating (ex. 22). Gree+ app, A/C display shows 8C, according to reality.
from homeassistant-greeclimatecomponent.
Hi @wacher74, this is what I was missing. Will test if your proposed solution works as intended and if yes then I'll manage the github process.
In the comments to my pull there is:
"The only thing missing is that when this mode is activated it would be good to display target temp as 8 deg C the same as on the device display. Maybe someone could add this or give me a hint how to do it quickly. Didn't want to mess up the temp refreshing/setting."
Will do my best to verify tomorrow.
from homeassistant-greeclimatecomponent.
Thank you for your help!
I just added an if statement to UpdateHATargetTemperature()
If StHt is active then 8 is reported to HomeAssistant instead of SetTem (which is temp for normal heating)
from homeassistant-greeclimatecomponent.
Just tested. Actually your solution is very clever one. I was afraid of some strange things happening with thermostat control since the range for this control is 16-30 deg C. However it all works really nice, since when AC is working in 8degC mode it ignores any input changing temp. Also clicking on the arrows of the thermostat only changes the temp for a couple of seconds and than it's all back to normal. I was afraid that changing temp might turn off the 8C mode.
Since this is a very nice solution I will make a pull request with your code.
Thank you for your support!
from homeassistant-greeclimatecomponent.
Related Issues (20)
- can not connect to my ac HOT 3
- can not connect to my ac
- can not connect to my ac
- Setup failed for custom integration 'gree' HOT 9
- Fan speed control HOT 2
- The data is read, but can't set anything HOT 15
- AttributeError: 'NoneType' object has no attribute 'state' HOT 16
- Vertical swing control HOT 1
- Cannot connect but previously worked before AC FW upgrade HOT 5
- Gree Pular Pro v 1.23 HOT 7
- Can't connect to my A/C HOT 5
- "No setup or config entry setup function defined" but I followed the setup instructions. HOT 4
- How to check in codition state of AC? HOT 6
- Errors on integration startup. (ValueError: invalid literal for int() with base 10:) HOT 5
- Support for VRF HOT 3
- does this custom component disables the native GREE integration? HOT 1
- Support for Toggling the AC panel light HOT 4
- Current Temperature is converted incorrectly
- Unable to switch fan mode HOT 1
- Works. Perfect auto-configuration. And restart. --> Not available.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homeassistant-greeclimatecomponent.