Support image entity as camera source
edenhaus opened this issue · comments
Description
Please also support the image entity as camera source.
From the docs:
The image entity is a simplified version of the camera entity, and supports serving a static image or an image URL that can be fetched.
The image entity has also the attribute entity_picture
, which (if I'm not wrong) is the only attribute required from the camera
entity.
A quick test was working, if you add the image entity through yaml as shown below:
Solution
Please edit the editor to also allow image entities.
Maybe only the following line must be extended, but I'm not familiar with this components code
lovelace-xiaomi-vacuum-map-card/src/editor.ts
Line 114 in 2283486
Alternatives
No response
Context
With the next release of Deebot 4 Home Assistant(released on 02.08.23) the camera
entity is replaced by the image
entity as in fact the vacuum map is only a image in the end.
Thank you for your investigation, I will definitely add it
I am also planning to change the camera
entities of the dreame_vacuum
to image
entities.
Well, I'm also planning to adjust Map Extractor 😉
+1