mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 01:08:12 +00:00
Fix invalid warning in scrape (#80599)
This commit is contained in:
parent
bad840e464
commit
bdfead9095
@ -170,7 +170,7 @@ class ScrapeSensor(SensorEntity):
|
||||
else:
|
||||
value = tag.text
|
||||
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
|
||||
except KeyError:
|
||||
_LOGGER.warning(
|
||||
|
Loading…
x
Reference in New Issue
Block a user