diff --git a/custom_components/camera_snapshot_processor/const.py b/custom_components/camera_snapshot_processor/const.py index e50b131..9c6e1ec 100644 --- a/custom_components/camera_snapshot_processor/const.py +++ b/custom_components/camera_snapshot_processor/const.py @@ -31,7 +31,9 @@ CONF_STATE_ICON_FONT_SIZE = "state_icon_font_size" CONF_OVERLAY_COLOR = "overlay_color" CONF_OVERLAY_BACKGROUND = "overlay_background" +CONF_OVERLAY_BACKGROUND_OPACITY = "overlay_background_opacity" CONF_STATE_ICON_BACKGROUND = "state_icon_background" +CONF_STATE_ICON_BACKGROUND_OPACITY = "state_icon_background_opacity" # State icons configuration (multiple icons supported) CONF_STATE_ICONS = "state_icons" diff --git a/custom_components/camera_snapshot_processor/frontend/panel.html b/custom_components/camera_snapshot_processor/frontend/panel.html index 0df96e6..5358115 100644 --- a/custom_components/camera_snapshot_processor/frontend/panel.html +++ b/custom_components/camera_snapshot_processor/frontend/panel.html @@ -68,8 +68,8 @@

Camera Configuration

- - + + @@ -77,17 +77,23 @@

Camera Configuration

-
+

Image Dimensions & Quality

â„šī¸ - For custom values or upscaling, type directly in the input fields. + Step 2: Resize the image to these dimensions.
+ If cropping is enabled, the cropped area will be resized. Otherwise, the full camera image will be resized.
+ +
+ Source Image Size: Loading... +
+
-
+

Crop Settings

+ +
+ â„šī¸ + + Optional Step 1: Crop a specific area from the camera image. If enabled, cropping happens before resizing (Dimensions tab). + +
+
+ +
+ + + 1.0 +
@@ -280,6 +300,12 @@

State Icon Background

Background color for all state icons. Click "Clear" for no background
+ +
+ + + 1.0 +
@@ -304,20 +330,32 @@

Live Preview

Loading preview...

-
- Preview -