filipvh / hass-nhc2

Niko Home Control II Home Assistant Integration
MIT License
36 stars 26 forks source link

Invalid config when used 2022.3 or higher #41

Open ddeconin-gh opened 2 years ago

ddeconin-gh commented 2 years ago

It doesn't start anymore.. Logs show: 2022-03-08 15:14:06 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140090281047136] Received invalid command: mobile_app/push_notification_channel 2022-03-08 15:14:13 ERROR (SyncWorker_2) [homeassistant.util.package] Unable to install package nhc2-coco==1.4.1: ERROR: Cannot install nhc2-coco==1.4.1 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts WARNING: You are using pip version 22.0.3; however, version 22.0.4 is available. You should consider upgrading via the '/usr/local/bin/python3 -m pip install --upgrade pip' command. 2022-03-08 15:14:18 ERROR (SyncWorker_4) [homeassistant.util.package] Unable to install package nhc2-coco==1.4.1: ERROR: Cannot install nhc2-coco==1.4.1 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts WARNING: You are using pip version 22.0.3; however, version 22.0.4 is available. You should consider upgrading via the '/usr/local/bin/python3 -m pip install --upgrade pip' command. 2022-03-08 15:14:21 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140090281047136] Received invalid command: mobile_app/push_notification_channel 2022-03-08 15:14:23 ERROR (SyncWorker_3) [homeassistant.util.package] Unable to install package nhc2-coco==1.4.1: ERROR: Cannot install nhc2-coco==1.4.1 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts WARNING: You are using pip version 22.0.3; however, version 22.0.4 is available. You should consider upgrading via the '/usr/local/bin/python3 -m pip install --upgrade pip' command. 2022-03-08 15:14:23 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration nhc2: Requirements for nhc2 not found: ['nhc2-coco==1.4.1'].

dimitridelanghe commented 2 years ago

i have the same error, have you fixed this ddeconin-gh?

ddeconin-gh commented 2 years ago

Hi, in #38 there is a workaround for it.