diff --git a/homeassistant/components/template/light.py b/homeassistant/components/template/light.py index e76ba42289b..2479388eaaf 100644 --- a/homeassistant/components/template/light.py +++ b/homeassistant/components/template/light.py @@ -435,8 +435,9 @@ class LightTemplate(TemplateEntity, LightEntity): self._temperature = temperature else: _LOGGER.error( - "Received invalid color temperature : %s. Expected: 0-%s", + "Received invalid color temperature : %s. Expected: %s-%s", temperature, + self.min_mireds, self.max_mireds, ) self._temperature = None