hass-nhc2 icon indicating copy to clipboard operation
hass-nhc2 copied to clipboard

Invalid config when used 2022.3 or higher

Open ddeconin-gh opened this issue 2 years ago • 2 comments

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'].

ddeconin-gh avatar Mar 08 '22 14:03 ddeconin-gh

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

dimitridelanghe avatar Mar 10 '22 22:03 dimitridelanghe

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

ddeconin-gh avatar Mar 11 '22 08:03 ddeconin-gh