From f2fcd1aab96cdb14f943a9aa272147a5bbe94f63 Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Wed, 30 Sep 2020 00:52:26 +0200 Subject: [PATCH] better strings --- .../adaptive_lighting/strings.json | 28 +++++++++---------- .../adaptive_lighting/translations/en.json | 28 +++++++++---------- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/custom_components/adaptive_lighting/strings.json b/custom_components/adaptive_lighting/strings.json index 5317c2e5..df2149be 100644 --- a/custom_components/adaptive_lighting/strings.json +++ b/custom_components/adaptive_lighting/strings.json @@ -27,22 +27,22 @@ "disable_entity": "disable_entity", "disable_state": "disable_state", "initial_transition": "initial_transition, the transition of the lights when turning them on or when 'disable_state' or 'sleep_state' change", - "interval": "interval", - "max_brightness": "max_brightness", - "max_color_temp": "max_color_temp", - "min_brightness": "min_brightness", - "min_color_temp": "min_color_temp", - "only_once": "only_once", - "prefer_rgb_color": "prefer_rgb_color", - "sleep_brightness": "sleep_brightness", - "sleep_color_temp": "sleep_color_temp", + "interval": "interval, time between switch updates in seconds", + "max_brightness": "max_brightness, in %", + "max_color_temp": "max_color_temp, in Kelvin", + "min_brightness": "min_brightness, in %", + "min_color_temp": "min_color_temp, in Kelvin", + "only_once": "only_once, only adapt the lights when turning them on", + "prefer_rgb_color": "prefer_rgb_color, use 'rgb_color' over 'color_temp' when possible", + "sleep_brightness": "sleep_brightness, in %", + "sleep_color_temp": "sleep_color_temp, in Kelvin", "sleep_entity": "sleep_entity", "sleep_state": "sleep_state", - "sunrise_offset": "sunrise_offset", - "sunrise_time": "sunrise_time", - "sunset_offset": "sunset_offset", - "sunset_time": "sunset_time", - "transition": "transition" + "sunrise_offset": "sunrise_offset, in +/- seconds", + "sunrise_time": "sunrise_time, in 'HH:MM:SS' format", + "sunset_offset": "sunset_offset, in +/- seconds", + "sunset_time": "sunset_time, in 'HH:MM:SS' format", + "transition": "transition, in seconds" } } }, diff --git a/custom_components/adaptive_lighting/translations/en.json b/custom_components/adaptive_lighting/translations/en.json index 5317c2e5..df2149be 100644 --- a/custom_components/adaptive_lighting/translations/en.json +++ b/custom_components/adaptive_lighting/translations/en.json @@ -27,22 +27,22 @@ "disable_entity": "disable_entity", "disable_state": "disable_state", "initial_transition": "initial_transition, the transition of the lights when turning them on or when 'disable_state' or 'sleep_state' change", - "interval": "interval", - "max_brightness": "max_brightness", - "max_color_temp": "max_color_temp", - "min_brightness": "min_brightness", - "min_color_temp": "min_color_temp", - "only_once": "only_once", - "prefer_rgb_color": "prefer_rgb_color", - "sleep_brightness": "sleep_brightness", - "sleep_color_temp": "sleep_color_temp", + "interval": "interval, time between switch updates in seconds", + "max_brightness": "max_brightness, in %", + "max_color_temp": "max_color_temp, in Kelvin", + "min_brightness": "min_brightness, in %", + "min_color_temp": "min_color_temp, in Kelvin", + "only_once": "only_once, only adapt the lights when turning them on", + "prefer_rgb_color": "prefer_rgb_color, use 'rgb_color' over 'color_temp' when possible", + "sleep_brightness": "sleep_brightness, in %", + "sleep_color_temp": "sleep_color_temp, in Kelvin", "sleep_entity": "sleep_entity", "sleep_state": "sleep_state", - "sunrise_offset": "sunrise_offset", - "sunrise_time": "sunrise_time", - "sunset_offset": "sunset_offset", - "sunset_time": "sunset_time", - "transition": "transition" + "sunrise_offset": "sunrise_offset, in +/- seconds", + "sunrise_time": "sunrise_time, in 'HH:MM:SS' format", + "sunset_offset": "sunset_offset, in +/- seconds", + "sunset_time": "sunset_time, in 'HH:MM:SS' format", + "transition": "transition, in seconds" } } },