Skip to content

error in new version #16

@ppnacho

Description

@ppnacho

Este error se originó a partir de una integración personalizada.

Logger: homeassistant.config
Source: custom_components/ssh/sensor.py:18
Integration: ssh (documentation)
First occurred: 11:25:16 (5 occurrences)
Last logged: 11:25:16

Platform error: sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config.py", line 853, in async_process_component_config
platform = p_integration.get_platform(domain)
File "/usr/src/homeassistant/homeassistant/loader.py", line 498, in get_platform
cache[full_name] = self._import_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 503, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File "/usr/local/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File "/config/custom_components/ssh/sensor.py", line 18, in
from homeassistant.const import (
ImportError: cannot import name 'CONF_SCAN' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions