mariusz-ostoja-swierczynski / tech-controllers

TECH Controllers integration for Home Assistant
MIT License
97 stars 67 forks source link

Invalid config: The following integrations and platforms could not be set up: tech #34

Closed Pxvvxp closed 2 years ago

Pxvvxp commented 2 years ago

Few days ago I had to restart my HA from Backup and TECH stopped working. I tried to reinstall integration but it seems repo is outdated.

In notification I see:

Invalid config The following integrations and platforms could not be set up: tech (Show logs)

When I am trying to reinstall TECH integration:

Error Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble

In logs I see:

Setup failed for custom integration tech: Requirements for tech not found: ['tech']. 6:17:00 PM – (ERROR) setup.py Unable to install package tech: ERROR: Could not find a version that satisfies the requirement tech (from versions: none) ERROR: No matching distribution found for tech 6:17:00 PM – (ERROR) util/package.py - message first occurred at 6:16:46 PM and shows up 3 times

2_022-10-18 18:17:00.751 ERROR (SyncWorker1) [homeassistant.util.package] Unable to install package tech: ERROR: Could not find a version that satisfies the requirement tech (from versions: none) ERROR: No matching distribution found for tech 2022-10-18 18:17:00.754 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration tech: Requirements for tech not found: ['tech'].

Anyone else having this problem or someone know how to fix this?

image image

Pxvvxp commented 2 years ago

For others who may get this error here is a solution: Duplicate of https://github.com/MichalKrasowski/tech-controllers/issues/11 You need to remove tech requirement line from manifest.json as it is referencing a non existent pypi package.

mariusz-ostoja-swierczynski commented 2 years ago

This is now merged to master and dev branches. @Pxvvxp please test it.

Furthermore dev branch contains now few new fat features: https://github.com/mariusz-ostoja-swierczynski/tech-controllers/issues/7 https://github.com/mariusz-ostoja-swierczynski/tech-controllers/issues/15 https://github.com/mariusz-ostoja-swierczynski/tech-controllers/pull/24

Please have a look. Cheers, Mariusz