Remove unnecessary assignment of Template.hass from template (#123773)

This commit is contained in:
Erik Montnemery 2024-08-13 11:54:36 +02:00 committed by GitHub
parent 5837450a05
commit dc462aa529
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 39 additions and 32 deletions

View file

@ -106,7 +106,7 @@ async def _async_create_entities(hass, config):
covers = []
for object_id, entity_config in config[CONF_COVERS].items():
entity_config = rewrite_common_legacy_to_modern_conf(entity_config)
entity_config = rewrite_common_legacy_to_modern_conf(hass, entity_config)
unique_id = entity_config.get(CONF_UNIQUE_ID)