-
Notifications
You must be signed in to change notification settings - Fork 105
Siterwell GS361A-H04 #51
Comments
After additional research i realise that only second issue is a problem. First - i must configure on my side. |
If I use above for set_temperature, I get this erro when trying to set temperature Failed to call service climate/set_temperature. set_temperature() got an unexpected keyword argument 'entity_id' |
Sorry wrong climate.py update.
If I add this to original in \tuyaha\devices\climate.py nothing changes. |
@hribaro1 Could you change log verbosity in your HA integration to debug and provide log for me. In my situation. I had ValueOutOfRange message in the log. @PaulAnnekov What do you thinking about change debug message to warning or error? |
A little out of my league. |
@hribaro1 https://www.home-assistant.io/integrations/logger/ you need set to debug |
I also see OutofRange, but why? 020-11-09 13:06:16 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1895224152] Received {'type': 'call_service', 'domain': 'climate', 'service': 'set_temperature', 'service_data': {'entity_id': 'climate.87760457ecfabc5c425c', 'temperature': 1.5}, 'id': 50} |
Min and max range is in this case 0.1 - 12.2 and I tried to set 1.5 |
@hribaro1 This range is the same with Tuya app? Can you check log without my changes? And what devise do you use? |
Range of thermostat currently set is 10-30 degrees, but even if I want to set to 11 I have the same error 2020-11-09 15:06:21 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1766847248] Received {'type': 'call_service', 'domain': 'climate', 'service': 'set_temperature', 'service_data': {'entity_id': 'climate.87760457ecfabc5c3ae3', 'temperature': 11}, 'id': 31} Type is Xiamen Hysen Control Tuya wifi thermostat |
In my case, I have the same data in HA and Tuya.
|
I think that problem is that the temperature value should not multiplied by
Unfortunately this is not a rule, because in other cases the transformation is correct. Probably should be added an option to select the right action, than added an option in HA Tuya Integration to set it properly. |
That makes sense. As Tuya API doesn't return model id, we can't handle it entirely in code. |
Hello, I have Siterwell GS361A-H04 devise, this devise discovered in your integration, but has a few bugs:
Additional information:
Discovery -
Try to set 250
Try to set 25
To avoid second issue with ha_tuya_custom i change set_temperature function
def set_temperature(self, temperature):
"""Set new target temperature."""
But as I understand this change can broke other devise integration.
Sorry for my English. If you misunderstand something ask me please.
Regards, Igor
The text was updated successfully, but these errors were encountered: