Add support for arbitrary image entities

This commit is contained in:
Dermot Duffy
2024-09-08 16:48:26 -07:00
parent 35ff8cd500
commit 041656317a
16 changed files with 264 additions and 149 deletions
+13 -11
View File
@@ -219,6 +219,19 @@
"grid_selected_width_factor": "Increase selected media width by this factor",
"mode": "Mode"
},
"image": {
"entity": "Entity for use with entity mode",
"entity_parameters": "Query parameters added to the entity-based picture URLs (e.g. width=1920&height=1080)",
"mode": "Image mode",
"modes": {
"camera": "Home Assistant camera snapshot of camera entity",
"entity": "Entity with entity_picture attribute",
"screensaver": "Embedded Frigate logo",
"url": "Arbitrary image specified by URL"
},
"refresh_seconds": "Number of seconds after which to refresh (0=never)",
"url": "Static image URL"
},
"media_action_conditions": {
"all": "All opportunities",
"hidden": "On browser/tab hiding",
@@ -257,17 +270,6 @@
"max_height": "Maximum card height in CSS units (e.g. '100vh')",
"min_height": "Minimum card height in CSS units (e.g. '100px')"
},
"image": {
"mode": "Image view mode",
"modes": {
"camera": "Home Assistant camera snapshot of camera entity",
"screensaver": "Embedded Frigate logo",
"url": "Arbitrary image specified by URL"
},
"refresh_seconds": "Number of seconds after which to refresh (0=never)",
"url": "Static image URL for image view",
"zoomable": "Image can be zoomed/panned"
},
"live": {
"auto_mute": "Automatically mute live cameras",
"auto_pause": "Automatically pause live cameras",