mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
Fix invalid type hint in scrape (#80543)
This commit is contained in:
parent
67d1dde69f
commit
dc2a87b9ae
@ -82,7 +82,7 @@ async def async_setup_platform(
|
|||||||
resource: str = config[CONF_RESOURCE]
|
resource: str = config[CONF_RESOURCE]
|
||||||
method: str = "GET"
|
method: str = "GET"
|
||||||
payload: str | None = None
|
payload: str | None = None
|
||||||
headers: str | None = config.get(CONF_HEADERS)
|
headers: dict[str, str] | None = config.get(CONF_HEADERS)
|
||||||
verify_ssl: bool = config[CONF_VERIFY_SSL]
|
verify_ssl: bool = config[CONF_VERIFY_SSL]
|
||||||
select: str | None = config.get(CONF_SELECT)
|
select: str | None = config.get(CONF_SELECT)
|
||||||
attr: str | None = config.get(CONF_ATTR)
|
attr: str | None = config.get(CONF_ATTR)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user