Fix MQTT template light (#42598)
This commit is contained in:
parent
bebbafdaba
commit
1215100f9a
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ class MqttLightTemplate(
|
|||
except ValueError:
|
||||
_LOGGER.warning("Invalid color value received")
|
||||
|
||||
if self._templates[CONF_COLOR_TEMP_TEMPLATE] is not None:
|
||||
if self._templates[CONF_WHITE_VALUE_TEMPLATE] is not None:
|
||||
try:
|
||||
self._white_value = int(
|
||||
self._templates[
|
||||
|
|
Loading…
Add table
Reference in a new issue