Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with HA 0.93.1, ImportError: cannot import name 'STATE_HEAT' #3

Open
MagicFab opened this issue May 22, 2019 · 1 comment

Comments

@MagicFab
Copy link

I'm testing a standard Home Assistant install under Debian Stretch. This may be related to the recent changes and improvements to integrations as indicated here.

When starting hass this is shown in the log:
2019-05-22 13:53:53 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.sinope. Make sure all dependencies are installed
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/loader.py", line 263, in _load_file
module = importlib.import_module(path)
File "/usr/lib/python3.5/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 958, in _find_and_load_unlocked
File "", line 673, in _load_unlocked
File "", line 673, in exec_module
File "", line 222, in _call_with_frames_removed
File "/root/.homeassistant/custom_components/sinope.py", line 15, in
from homeassistant.components.climate import (ClimateDevice, PLATFORM_SCHEMA, STATE_HEAT, STATE_IDLE, ATTR_TEMPERATURE, ATTR_AWAY_MODE, SUPPORT_TARGET_TEMPERATURE)
ImportError: cannot import name 'STATE_HEAT'

@zetvio
Copy link

zetvio commented May 22, 2019

This repo hasn't been updated since a while. See this fork here, it's up to date and works with HA 0.93.1

You can also follow this thread to get updates about this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants