Bump NextDNS backend library (#74611)
parent
ba0b98ef32
commit
fd7330ea77
|
@ -3,7 +3,7 @@
|
|||
"name": "NextDNS",
|
||||
"documentation": "https://www.home-assistant.io/integrations/nextdns",
|
||||
"codeowners": ["@bieniu"],
|
||||
"requirements": ["nextdns==1.0.0"],
|
||||
"requirements": ["nextdns==1.0.1"],
|
||||
"config_flow": true,
|
||||
"iot_class": "cloud_polling",
|
||||
"loggers": ["nextdns"]
|
||||
|
|
|
@ -1092,7 +1092,7 @@ nextcloudmonitor==1.1.0
|
|||
nextcord==2.0.0a8
|
||||
|
||||
# homeassistant.components.nextdns
|
||||
nextdns==1.0.0
|
||||
nextdns==1.0.1
|
||||
|
||||
# homeassistant.components.niko_home_control
|
||||
niko-home-control==0.2.1
|
||||
|
|
|
@ -760,7 +760,7 @@ nexia==2.0.1
|
|||
nextcord==2.0.0a8
|
||||
|
||||
# homeassistant.components.nextdns
|
||||
nextdns==1.0.0
|
||||
nextdns==1.0.1
|
||||
|
||||
# homeassistant.components.nfandroidtv
|
||||
notifications-android-tv==0.1.5
|
||||
|
|
|
@ -43,11 +43,13 @@ async def test_entry_diagnostics(hass, hass_client):
|
|||
"doh_queries": 20,
|
||||
"doq_queries": 10,
|
||||
"dot_queries": 30,
|
||||
"tcp_queries": 0,
|
||||
"udp_queries": 40,
|
||||
"doh_queries_ratio": 22.2,
|
||||
"doq_queries_ratio": 11.1,
|
||||
"dot_queries_ratio": 33.3,
|
||||
"udp_queries_ratio": 44.4,
|
||||
"doh_queries_ratio": 20.0,
|
||||
"doq_queries_ratio": 10.0,
|
||||
"dot_queries_ratio": 30.0,
|
||||
"tcp_queries_ratio": 0.0,
|
||||
"udp_queries_ratio": 40.0,
|
||||
}
|
||||
assert result["status_coordinator_data"] == {
|
||||
"all_queries": 100,
|
||||
|
|
|
@ -197,7 +197,7 @@ async def test_sensor(hass):
|
|||
|
||||
state = hass.states.get("sensor.fake_profile_dns_over_https_queries_ratio")
|
||||
assert state
|
||||
assert state.state == "22.2"
|
||||
assert state.state == "20.0"
|
||||
assert state.attributes.get(ATTR_STATE_CLASS) is SensorStateClass.MEASUREMENT
|
||||
assert state.attributes.get(ATTR_UNIT_OF_MEASUREMENT) == PERCENTAGE
|
||||
|
||||
|
@ -217,7 +217,7 @@ async def test_sensor(hass):
|
|||
|
||||
state = hass.states.get("sensor.fake_profile_dns_over_quic_queries_ratio")
|
||||
assert state
|
||||
assert state.state == "11.1"
|
||||
assert state.state == "10.0"
|
||||
assert state.attributes.get(ATTR_STATE_CLASS) is SensorStateClass.MEASUREMENT
|
||||
assert state.attributes.get(ATTR_UNIT_OF_MEASUREMENT) == PERCENTAGE
|
||||
|
||||
|
@ -237,7 +237,7 @@ async def test_sensor(hass):
|
|||
|
||||
state = hass.states.get("sensor.fake_profile_dns_over_tls_queries_ratio")
|
||||
assert state
|
||||
assert state.state == "33.3"
|
||||
assert state.state == "30.0"
|
||||
assert state.attributes.get(ATTR_STATE_CLASS) is SensorStateClass.MEASUREMENT
|
||||
assert state.attributes.get(ATTR_UNIT_OF_MEASUREMENT) == PERCENTAGE
|
||||
|
||||
|
@ -347,7 +347,7 @@ async def test_sensor(hass):
|
|||
|
||||
state = hass.states.get("sensor.fake_profile_udp_queries_ratio")
|
||||
assert state
|
||||
assert state.state == "44.4"
|
||||
assert state.state == "40.0"
|
||||
assert state.attributes.get(ATTR_STATE_CLASS) is SensorStateClass.MEASUREMENT
|
||||
assert state.attributes.get(ATTR_UNIT_OF_MEASUREMENT) == PERCENTAGE
|
||||
|
||||
|
|
Loading…
Reference in New Issue