h4de5 / home-assistant-toshiba_ac

Toshiba AC integration into home-assistant.io
GNU General Public License v3.0
113 stars 17 forks source link

No longer working with Home Assistant 2023.12.0b1 #152

Closed PatrikTheDev closed 6 months ago

PatrikTheDev commented 7 months ago

I just updated to the latest Home Assistant beta (.12.0b 0 and 1) and Toshiba AC is no longer working correctly. The error: IMG_0229 IMG_0228

Not sure why it’s happening but I assume it’s some upstream change which is breaking toshiba_ac’s package resolution

PatrikTheDev commented 7 months ago

This might be related: https://github.com/home-assistant/core/issues/104851

boozeman commented 6 months ago

Hi,

There is the same problem with 2023.12.0 too

Unable to install package toshiba-ac==0.3.3: ERROR: Cannot install toshiba-ac==0.3.3 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

PatrikTheDev commented 6 months ago

I’ve opened a PR (https://github.com/KaSroka/Toshiba-AC-control/pull/42) on the Toshiba-AC-control repo which fixes this issue. I hope the maintainer finds time soon to check my changes and publish a new version.

blbeczech82 commented 6 months ago

as quickfix, in /homeassistant/custom_components/toshiba_ac/manifest.json change to following (not sure if version is really needed to change):

  "requirements": ["toshiba-ac==0.3.4"],
  "version": "2023.12.0",

and reboot

Kheperu commented 6 months ago

as quickfix, in /homeassistant/custom_components/toshiba_ac/manifest.json change to following (not sure if version is really needed to change):

  "requirements": ["toshiba-ac==0.3.4"],
  "version": "2023.12.0",

and reboot

Can confirm modifying version is not needed.

But modifying "requirements" and rebooting works! Thanks!

Disciplus86 commented 6 months ago

as quickfix, in /homeassistant/custom_components/toshiba_ac/manifest.json change to following (not sure if version is really needed to change):

  "requirements": ["toshiba-ac==0.3.4"],
  "version": "2023.12.0",

and reboot

Thanks for the quick patch!

h4de5 commented 6 months ago

should be fixed in #156