mirror of
https://github.com/home-assistant/core.git
synced 2025-07-10 23:07:09 +00:00
Update netdata to 1.1.0, set longer timeout (#93937)
This commit is contained in:
parent
bb5430ff59
commit
ba66a39668
@ -5,5 +5,5 @@
|
|||||||
"documentation": "https://www.home-assistant.io/integrations/netdata",
|
"documentation": "https://www.home-assistant.io/integrations/netdata",
|
||||||
"iot_class": "local_polling",
|
"iot_class": "local_polling",
|
||||||
"loggers": ["netdata"],
|
"loggers": ["netdata"],
|
||||||
"requirements": ["netdata==1.0.1"]
|
"requirements": ["netdata==1.1.0"]
|
||||||
}
|
}
|
||||||
|
@ -66,7 +66,7 @@ async def async_setup_platform(
|
|||||||
port = config[CONF_PORT]
|
port = config[CONF_PORT]
|
||||||
resources = config[CONF_RESOURCES]
|
resources = config[CONF_RESOURCES]
|
||||||
|
|
||||||
netdata = NetdataData(Netdata(host, port=port))
|
netdata = NetdataData(Netdata(host, port=port, timeout=20.0))
|
||||||
await netdata.async_update()
|
await netdata.async_update()
|
||||||
|
|
||||||
if netdata.api.metrics is None:
|
if netdata.api.metrics is None:
|
||||||
|
@ -1242,7 +1242,7 @@ ndms2-client==0.1.2
|
|||||||
nessclient==0.10.0
|
nessclient==0.10.0
|
||||||
|
|
||||||
# homeassistant.components.netdata
|
# homeassistant.components.netdata
|
||||||
netdata==1.0.1
|
netdata==1.1.0
|
||||||
|
|
||||||
# homeassistant.components.discovery
|
# homeassistant.components.discovery
|
||||||
netdisco==3.0.0
|
netdisco==3.0.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user