Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Eurom heater not supported in Tuya integration #59501

@jaho68

Description

@jaho68

The problem

Since the new Tuya integration the Eurom heater appears but is not supported anymore.

What version of Home Assistant Core has the issue?

core-2021.11.2

What was the last working version of Home Assistant Core?

before new tuya integration

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Tuya

Link to integration documentation on our website

https://www.home-assistant.io/integrations/tuya

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2021-11-10 15:39:18 ERROR (MainThread) [homeassistant.components.climate] Error while setting up tuya platform for climate
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
    await asyncio.shield(task)
  File "/usr/src/homeassistant/homeassistant/components/tuya/climate.py", line 107, in async_setup_entry
    async_discover_device([*hass_data.device_manager.device_map])
  File "/usr/src/homeassistant/homeassistant/components/tuya/climate.py", line 99, in async_discover_device
    TuyaClimateEntity(
  File "/usr/src/homeassistant/homeassistant/components/tuya/climate.py", line 192, in __init__
    self._attr_max_temp = type_data.max_scaled
  File "/usr/src/homeassistant/homeassistant/components/tuya/base.py", line 33, in max_scaled
    return self.scale_value(self.max)
  File "/usr/src/homeassistant/homeassistant/components/tuya/base.py", line 47, in scale_value
    return value * 1.0 / (10 ** self.scale)
TypeError: can't multiply sequence by non-int of type 'float'
2021-11-10 15:39:19 ERROR (MainThread) [custom_components.pyscript.file.__init__] Exception in </config/pyscript/__init__.py> line 23:
    from .const import (
    ^
ImportError: attempted relative import with no known parent package
2021-11-10 15:39:19 ERROR (MainThread) [custom_components.pyscript.file.config_flow] Exception in </config/pyscript/config_flow.py> line 11:
    from .const import CONF_ALLOW_ALL_IMPORTS, CONF_HASS_IS_GLOBAL, CONF_INSTALLED_PACKAGES, DOMAIN
    ^
ImportError: attempted relative import with no known parent package
2021-11-10 15:39:19 ERROR (MainThread) [custom_components.pyscript.file.eval] Exception in </config/pyscript/eval.py> line 19:
    from .const import (
    ^
ImportError: attempted relative import with no known parent package
2021-11-10 15:39:19 ERROR (MainThread) [custom_components.pyscript.file.event] Exception in </config/pyscript/event.py> line 5:
    from .const import LOGGER_PATH
    ^
ImportError: attempted relative import with no known parent package
2021-11-10 15:39:20 ERROR (MainThread) [custom_components.pyscript.file.function] Exception in </config/pyscript/function.py> line 10:
    from .const import LOGGER_PATH
    ^
ImportError: attempted relative import with no known parent package
2021-11-10 15:39:20 ERROR (MainThread) [custom_components.pyscript.file.global_ctx] Exception in </config/pyscript/global_ctx.py> line 7:
    from .const import CONF_HASS_IS_GLOBAL, CONFIG_ENTRY, DOMAIN, FOLDER, LOGGER_PATH
    ^
ImportError: attempted relative import with no known parent package
2021-11-10 15:39:21 ERROR (MainThread) [homeassistant.components.plex] Plex server (http://192.168.11.100:32400) could not be reached: [HTTPConnectionPool(host='192.168.11.100', port=32400): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xa9b64478>: Failed to establish a new connection: [Errno 113] Host is unreachable'))]
2021-11-10 15:39:21 ERROR (MainThread) [custom_components.pyscript.file.jupyter_kernel] Exception in </config/pyscript/jupyter_kernel.py> line 22:
    from .const import LOGGER_PATH
    ^
ImportError: attempted relative import with no known parent package
2021-11-10 15:39:21 ERROR (MainThread) [custom_components.pyscript.file.logbook] Exception in </config/pyscript/logbook.py> line 6:
    from .const import DOMAIN
    ^
ImportError: attempted relative import with no known parent package
2021-11-10 15:39:23 ERROR (MainThread) [custom_components.pyscript.file.mqtt] Exception in </config/pyscript/mqtt.py> line 8:
    from .const import LOGGER_PATH
    ^
ImportError: attempted relative import with no known parent package
2021-11-10 15:39:23 ERROR (MainThread) [custom_components.pyscript.file.requirements] Exception in </config/pyscript/requirements.py> line 12:
    from .const import (
    ^
ImportError: attempted relative import with no known parent package
2021-11-10 15:39:23 ERROR (MainThread) [custom_components.pyscript.file.set_state] Exception in </config/pyscript/set_state.py> line 5:
    inputEntity = data.get('entity_id')
                  ^
NameError: name 'data.get' is not defined
2021-11-10 15:39:23 ERROR (MainThread) [custom_components.pyscript.file.state] Exception in </config/pyscript/state.py> line 10:
    from .const import LOGGER_PATH
    ^
ImportError: attempted relative import with no known parent package
2021-11-10 15:39:26 ERROR (MainThread) [custom_components.pyscript.file.trigger] Exception in </config/pyscript/trigger.py> line 16:
    from .const import LOGGER_PATH
    ^
ImportError: attempted relative import with no known parent package
/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host '192.168.11.25'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(
2021-11-10 15:44:01 ERROR (MainThread) [homeassistant.components.climate] Error while setting up tuya platform for climate
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
    await asyncio.shield(task)
  File "/usr/src/homeassistant/homeassistant/components/tuya/climate.py", line 107, in async_setup_entry
    async_discover_device([*hass_data.device_manager.device_map])
  File "/usr/src/homeassistant/homeassistant/components/tuya/climate.py", line 99, in async_discover_device
    TuyaClimateEntity(
  File "/usr/src/homeassistant/homeassistant/components/tuya/climate.py", line 192, in __init__
    self._attr_max_temp = type_data.max_scaled
  File "/usr/src/homeassistant/homeassistant/components/tuya/base.py", line 33, in max_scaled
    return self.scale_value(self.max)
  File "/usr/src/homeassistant/homeassistant/components/tuya/base.py", line 47, in scale_value
    return value * 1.0 / (10 ** self.scale)
TypeError: can't multiply sequence by non-int of type 'float'
2021-11-10 15:57:48 ERROR (stream_worker) [homeassistant.components.stream.worker] Error demuxing stream: 
2021-11-10 15:58:04 ERROR (stream_worker) [homeassistant.components.stream.worker] Error opening stream rtsp://****:****@192.168.11.252:554/h264Preview_01_main
2021-11-10 15:58:39 ERROR (stream_worker) [homeassistant.components.stream.worker] Error demuxing stream while finding first packet: Timestamp overflow detected: last dts = 2333441303, dts = 9216
2021-11-10 15:59:01 ERROR (stream_worker) [homeassistant.components.stream.worker] Error demuxing stream: 
2021-11-10 15:59:19 ERROR (stream_worker) [homeassistant.components.stream.worker] Error demuxing stream while finding first packet: 
2021-11-10 16:00:10 ERROR (stream_worker) [homeassistant.components.stream.worker] Error demuxing stream while finding first packet: 
2021-11-10 16:01:07 ERROR (stream_worker) [homeassistant.components.stream.worker] Error demuxing stream while finding first packet: 
2021-11-10 16:02:21 ERROR (stream_worker) [homeassistant.components.stream.worker] Error demuxing stream while finding first packet:

Additional information

Did work in the previous tuya version.
I have tried to remove/add the heater in the Tuya (smart life) app.
In the app and on IoT platform it is working fine.
In HA is says unsupported. Hope it will be supported again.
Thanks in advance
eurom_heater
!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions