From 7744c2e939376c99448d37d61182ad4e9c48c925 Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Sat, 5 Sep 2020 20:17:14 +0200 Subject: [PATCH] decapitalize "Both" -> "both" --- custom_components/circadian_lighting/switch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/circadian_lighting/switch.py b/custom_components/circadian_lighting/switch.py index 3ded81a2..7c5b6cc5 100755 --- a/custom_components/circadian_lighting/switch.py +++ b/custom_components/circadian_lighting/switch.py @@ -127,7 +127,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None): def _difference_between_states(from_state, to_state): start = "Lights adjusting because " if from_state is None and to_state is None: - return start + "Both states None" + return start + "both states None" if from_state is None: return start + f"from_state: None, to_state: {to_state}" if to_state is None: