decapitalize "Both" -> "both"

This commit is contained in:
Bas Nijholt 2020-09-05 20:17:14 +02:00
commit 7744c2e939

View file

@ -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: