Minor fix scrape (#73369)
parent
4feb5977ef
commit
dd923b2eed
|
@ -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(
|
||||
[
|
||||
|
|
Loading…
Reference in New Issue