mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Add types-beautifulsoup4 dependency (#98377)
This commit is contained in:
parent
4dd102f818
commit
180ff24492
@ -178,6 +178,7 @@ class ScrapeSensor(
|
|||||||
def _extract_value(self) -> Any:
|
def _extract_value(self) -> Any:
|
||||||
"""Parse the html extraction in the executor."""
|
"""Parse the html extraction in the executor."""
|
||||||
raw_data = self.coordinator.data
|
raw_data = self.coordinator.data
|
||||||
|
value: str | list[str] | None
|
||||||
try:
|
try:
|
||||||
if self._attr is not None:
|
if self._attr is not None:
|
||||||
value = raw_data.select(self._select)[self._index][self._attr]
|
value = raw_data.select(self._select)[self._index][self._attr]
|
||||||
|
@ -36,6 +36,7 @@ tqdm==4.66.1
|
|||||||
types-atomicwrites==1.4.5.1
|
types-atomicwrites==1.4.5.1
|
||||||
types-croniter==1.0.6
|
types-croniter==1.0.6
|
||||||
types-backports==0.1.3
|
types-backports==0.1.3
|
||||||
|
types-beautifulsoup4==4.12.0.6
|
||||||
types-caldav==1.3.0.0
|
types-caldav==1.3.0.0
|
||||||
types-chardet==0.1.5
|
types-chardet==0.1.5
|
||||||
types-decorator==5.1.8.3
|
types-decorator==5.1.8.3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user