Fix invalid warning in scrape (#80599)
This commit is contained in:
parent
bad840e464
commit
bdfead9095
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ class ScrapeSensor(SensorEntity):
|
||||||
else:
|
else:
|
||||||
value = tag.text
|
value = tag.text
|
||||||
except IndexError:
|
except IndexError:
|
||||||
_LOGGER.warning("Index '%s' not found in %s", self._attr, self.entity_id)
|
_LOGGER.warning("Index '%s' not found in %s", self._index, self.entity_id)
|
||||||
value = None
|
value = None
|
||||||
except KeyError:
|
except KeyError:
|
||||||
_LOGGER.warning(
|
_LOGGER.warning(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue