sca075 / mqtt_vacuum_camera

Camera Integration for Home Assistant to export and render all Vacuums connected via MQTT( including Valetudo Hypfer and RE(rand256)) Maps.
Apache License 2.0
92 stars 5 forks source link

Error after Update to HA Core Update 2024.8.0 #233

Closed duffmiester closed 1 month ago

duffmiester commented 1 month ago

Checklist

The problem

Getting this error after updating HA Core 2024.8.0

Logger: homeassistant.setup Source: setup.py:269 First occurred: 8:36:14 AM (1 occurrences) Last logged: 8:36:14 AM

Setup failed for custom integration 'mqtt_vacuum_camera': Requirements for mqtt_vacuum_camera not found: ['pillow==10.3.0'].

What version of an integration has described problem?

2024.06.3

What was the last working version of an integration?

2024.06.3

What vacuum model do you have problems with?

Xiaomi 1C

Please firmware installed on your Vacuum.

No response

What type of platform you use?

Intel NUC (or generic x86_64)

What version of Home Assistant do you use?

2024.8.0

What type of installation are you running?

Home Assistant OS

Logs or Errors shown in the HA snapshots (please enable the Debug Mode) text will be auto formatted to code.

Logger: homeassistant.setup
Source: setup.py:269
First occurred: 8:36:14 AM (1 occurrences)
Last logged: 8:36:14 AM

Setup failed for custom integration 'mqtt_vacuum_camera': Requirements for mqtt_vacuum_camera not found: ['pillow==10.3.0'].

Function, that in your opinion is creating the issue.

None

Additional information

No response

sca075 commented 1 month ago

@duffmiester intereating behavior of pip and Home Assistant.

Do not understand why, but an easy fix is to change in the Manifest >=10.3.0 to 10.4.0 https://github.com/sca075/mqtt_vacuum_camera/blob/d0f0641957a7200ab67fc749406dcadd1b35cf0d/custom_components/mqtt_vacuum_camera/manifest.json#L10 When I tested it in my PI it works on the beta.. and pass also the __hassfest meaning why this "==" is coming out I don't really know. If you install the Camera 2024.08.0 might work.

sca075 commented 1 month ago

Okay I did setup also on the main instance that never used Pillow 10.4.0 and it looks Home Assistant did boot the Camera correctly so @duffmiester sorry but you might need to update the camera too as you are running 2024.06.3 to 2024.08.0 this should solve your issue please see issiue #231 the Camera was updated accordingly.

sca075 commented 1 month ago

@duffmiester converting this "issue" to "discussion" as it isn't I guess an issue ;)