Minor fix scrape (#73369)

pull/73035/head
G Johansson 2022-06-11 21:35:15 +02:00 committed by GitHub
parent 4feb5977ef
commit dd923b2eed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ async def async_setup_entry(
if value_template is not None:
val_template = Template(value_template, hass)
rest = hass.data.setdefault(DOMAIN, {})[entry.entry_id]
rest = hass.data[DOMAIN][entry.entry_id]
async_add_entities(
[