I have created a camera entity using the “local file” integration and I am using a picture entity card to display this camera.
Here is the relevant code from the dashboard:
show_state: false
show_name: false
camera_view: live
type: picture-entity
entity: camera.wallpaper
Now when I update the file path using the action “local_file.update_file_path” (for example in an automation) the picture entity card does not always update immediately. It usually takes a few minutes or even a manual update.
The entity itself updates correctly, as I use card_mod to dynamically set the font-color depending on the background image. If the file is prefixed with “dark”, I use a white font, else I use a black font.
Now the font-color updates immediately, while the image stays the same, which results in unreadable text.
is there anything wrong with my configuration?