From 64a9db6bd9b3bdca6299cfe98c3bc0104ebab178 Mon Sep 17 00:00:00 2001 From: Jan-Henrik Bruhn Date: Tue, 7 Feb 2023 21:30:53 +0100 Subject: [PATCH] Fix rotation --- screenshotter/config.yaml | 2 +- screenshotter/rootfs/etc/services.d/screenshotter/run | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/screenshotter/config.yaml b/screenshotter/config.yaml index e3120e2..7c2a049 100644 --- a/screenshotter/config.yaml +++ b/screenshotter/config.yaml @@ -1,6 +1,6 @@ --- name: Screenshotter -version: 1.0.1.2 +version: 1.0.1.3 #image: ghcr.io/maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch} slug: screenshotter description: Screenshot images for E-Paper pricetags diff --git a/screenshotter/rootfs/etc/services.d/screenshotter/run b/screenshotter/rootfs/etc/services.d/screenshotter/run index 6f09d72..e5bf233 100644 --- a/screenshotter/rootfs/etc/services.d/screenshotter/run +++ b/screenshotter/rootfs/etc/services.d/screenshotter/run @@ -6,7 +6,7 @@ export SCREEN_IMAGE_PATH="$(bashio::config 'image_path')" export SCREEN_CONFIG="$(bashio::config 'config_file')" export SCREEN_WIDTH="$(bashio::config 'width')" export SCREEN_HEIGHT="$(bashio::config 'height')" -export SCREEN_ROTATE="$(bashio::config 'height')" +export SCREEN_ROTATE="$(bashio::config 'rotate')" export SCREEN_WAIT="$(bashio::config 'wait_seconds')" mkdir -p $SCREEN_IMAGE_PATH