Add select platform to template integration (#54835)

This commit is contained in:
Raman Gupta 2021-08-25 14:21:24 -04:00 committed by GitHub
parent e062d7aec0
commit 8407ad01d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 483 additions and 6 deletions

View file

@ -358,7 +358,7 @@ class TriggerBinarySensorEntity(TriggerEntity, BinarySensorEntity):
for key in (CONF_DELAY_ON, CONF_DELAY_OFF, CONF_AUTO_OFF):
if isinstance(config.get(key), template.Template):
self._to_render.append(key)
self._to_render_simple.append(key)
self._parse_result.add(key)
self._delay_cancel = None