mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 13:15:18 +02:00
@@ -1023,7 +1023,7 @@ class LightTemplate(TemplateEntity, LightEntity):
|
|||||||
if render in (None, "None", ""):
|
if render in (None, "None", ""):
|
||||||
self._supports_transition = False
|
self._supports_transition = False
|
||||||
return
|
return
|
||||||
self._attr_supported_features &= LightEntityFeature.EFFECT
|
self._attr_supported_features &= ~LightEntityFeature.TRANSITION
|
||||||
self._supports_transition = bool(render)
|
self._supports_transition = bool(render)
|
||||||
if self._supports_transition:
|
if self._supports_transition:
|
||||||
self._attr_supported_features |= LightEntityFeature.TRANSITION
|
self._attr_supported_features |= LightEntityFeature.TRANSITION
|
||||||
|
Reference in New Issue
Block a user