Open Alloc186 opened 3 years ago
@Alloc186 Can you provide the device's specification?
I'm having the exact same issue. I'm using this device. https://inkbird.com/products/itc-308-wifi
I use this type of thermostat, it's called Hysen hy08-1.
Dne ne 4. čvc 2021 21:25 uživatel pmd5700 @.***> napsal:
I'm having the exact same issue. I'm using this device. https://inkbird.com/products/itc-308-wifi
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tuya/tuya-home-assistant/issues/59#issuecomment-873647698, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI2N3BTL2VEQNTXBNMTOWM3TWCYULANCNFSM47Y5LBJA .
@Alloc186 Get the device specifications from the log. https://github.com/tuya/tuya-home-assistant/wiki/How-to-Get-the-Log
here is my log: home-assistant.log
It seems to me my thermostats (device smart RM) is added as sensor class instead of climate class?
Here is mine. I censored my password and usernames. home-assistant.log
Any update on this?
Logger: homeassistant.components.climate Source: custom_components/tuya_v2/climate.py:305 Integration: Klima (documentation, issues) First occurred: 9:19:01 (2 occurrences) Last logged: 9:19:02
Error adding entities for domain climate with platform tuya_v2 Error while setting up tuya_v2 platform for climate Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 383, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 499, in _async_add_entity capabilities=entity.capability_attributes, File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 190, in capability_attributes ATTR_HVAC_MODES: self.hvac_modes, File "/config/custom_components/tuya_v2/climate.py", line 305, in hvac_modes modes = json.loads(self.tuya_device.function.get(DPCODE_MODE, {}).values).get( File "/usr/local/lib/python3.8/json/init.py", line 341, in loads raise TypeError(f'the JSON object must be str, bytes or bytearray, ' TypeError: the JSON object must be str, bytes or bytearray, not builtin_function_or_method