b0mbays / continuously_casting_dashboards

HACS Integration for continuously casting a Home Assistant dashboard to your Google Chromecast Displays
MIT License
183 stars 9 forks source link

Incompatible PyYAML version with HA 2023.7.3 #29

Closed jhbruhn closed 11 months ago

jhbruhn commented 11 months ago

Since the latest Home Assistant Upgrade, I am getting this error:

 Setup failed for custom integration continuously_casting_dashboards: Requirements for continuously_casting_dashboards not found: ['PyYAML==6.0']. 

I am guessing there has been a minor upgrade. Perhaps the dependency can bet set to all versions which have the major version 6?

b0mbays commented 11 months ago

Ah damn, yeah.. this can happen occasionally when HA bumps up a pip requirement. I'm out the rest of the day but can take a look tomorrow. In the meantime I'd avoid that version and downgrade for now.

m33ts4k0z commented 11 months ago

Hello,

According to the official documentation, this requirement is not needed since it exists within the Core requirements. I removed it from the manifest.json of the integration and the casting still works.

b0mbays commented 11 months ago

@m33ts4k0z Great, thank you! I've tested this too and this is working on the new update by removing pyYAML.

I've published a new release that should be available after a restart of HA. Please update to get this integration working again on 2023.7.3 👍

klasenby commented 11 months ago

@m33ts4k0z Great, thank you! I've tested this too and this is working on the new update by removing pyYAML.

I've published a new release that should be available after a restart of HA. Please update to get this integration working again on 2023.7.3 👍

When trying to restart to pick up the new version, I get this error message. I also tried redownloading using version 1.2.6 and get the same error.

Failed to restart Home Assistant The system cannot restart because the configuration is not valid: Integration error: continuously_casting_dashboards - Requirements for continuously_casting_dashboards n found: [PYYAML==6.01].

b0mbays commented 11 months ago

Unfortunately home assistant will stop you from restarting. You can get around this by doing a full reboot from inside settings 👍 then, the new version will be there, update and restart (or reboot again if it stops you)

klasenby commented 11 months ago

I just removed CCD and it's configuration, restarted HA, reinstalled CCD and put the configuration back. All working now!