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

SonOff not work on Home Assistant 2021.1.1 #278

Open
hellresistor opened this issue Jan 11, 2021 · 1 comment
Open

SonOff not work on Home Assistant 2021.1.1 #278

hellresistor opened this issue Jan 11, 2021 · 1 comment

Comments

@hellresistor
Copy link

Hello try use this repository on Home Assistant 2021.1.1 and get error about uiid

Log Home Assistent:

2021-01-11 19:38:28 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for sonoff which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2021-01-11 19:38:32 ERROR (SyncWorker_1) [homeassistant.util.package] Unable to install package uuid: ERROR: Could not find a version that satisfies the requirement uuid==1000000000.0.0 (from -c /usr/src/homeassistant/homeassistant/package_constraints.txt (line 59)) (from versions: 1.30)
ERROR: No matching distribution found for uuid==1000000000.0.0 (from -c /usr/src/homeassistant/homeassistant/package_constraints.txt (line 59))
WARNING: You are using pip version 20.2.4; however, version 20.3.3 is available.
You should consider upgrading via the '/usr/local/bin/python3 -m pip install --upgrade pip' command.
2021-01-11 19:38:32 ERROR (MainThread) [homeassistant.setup] Setup failed for sonoff: Requirements for sonoff not found: ['uuid'].

Shouldn't be pip .... ?! o0

@hansharhoff
Copy link

The uuid issue can be resolved by simply removing the requirement for uuid in the file init.py on line 26.

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