Upgrade hole to 0.7.0 (#60779)
This commit is contained in:
parent
a1aaecb3bf
commit
b32e1d9339
5 changed files with 4 additions and 5 deletions
|
@ -102,7 +102,6 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
||||||
session = async_get_clientsession(hass, verify_tls)
|
session = async_get_clientsession(hass, verify_tls)
|
||||||
api = Hole(
|
api = Hole(
|
||||||
host,
|
host,
|
||||||
hass.loop,
|
|
||||||
session,
|
session,
|
||||||
location=location,
|
location=location,
|
||||||
tls=use_tls,
|
tls=use_tls,
|
||||||
|
|
|
@ -170,5 +170,5 @@ class PiHoleFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
|
||||||
self, host: str, location: str, tls: bool, verify_tls: bool
|
self, host: str, location: str, tls: bool, verify_tls: bool
|
||||||
) -> None:
|
) -> None:
|
||||||
session = async_get_clientsession(self.hass, verify_tls)
|
session = async_get_clientsession(self.hass, verify_tls)
|
||||||
pi_hole = Hole(host, self.hass.loop, session, location=location, tls=tls)
|
pi_hole = Hole(host, session, location=location, tls=tls)
|
||||||
await pi_hole.get_data()
|
await pi_hole.get_data()
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"domain": "pi_hole",
|
"domain": "pi_hole",
|
||||||
"name": "Pi-hole",
|
"name": "Pi-hole",
|
||||||
"documentation": "https://www.home-assistant.io/integrations/pi_hole",
|
"documentation": "https://www.home-assistant.io/integrations/pi_hole",
|
||||||
"requirements": ["hole==0.6.0"],
|
"requirements": ["hole==0.7.0"],
|
||||||
"codeowners": ["@fabaff", "@johnluetke", "@shenxn"],
|
"codeowners": ["@fabaff", "@johnluetke", "@shenxn"],
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"iot_class": "local_polling"
|
"iot_class": "local_polling"
|
||||||
|
|
|
@ -813,7 +813,7 @@ hkavr==0.0.5
|
||||||
hlk-sw16==0.0.9
|
hlk-sw16==0.0.9
|
||||||
|
|
||||||
# homeassistant.components.pi_hole
|
# homeassistant.components.pi_hole
|
||||||
hole==0.6.0
|
hole==0.7.0
|
||||||
|
|
||||||
# homeassistant.components.workday
|
# homeassistant.components.workday
|
||||||
holidays==0.11.3.1
|
holidays==0.11.3.1
|
||||||
|
|
|
@ -509,7 +509,7 @@ herepy==2.0.0
|
||||||
hlk-sw16==0.0.9
|
hlk-sw16==0.0.9
|
||||||
|
|
||||||
# homeassistant.components.pi_hole
|
# homeassistant.components.pi_hole
|
||||||
hole==0.6.0
|
hole==0.7.0
|
||||||
|
|
||||||
# homeassistant.components.workday
|
# homeassistant.components.workday
|
||||||
holidays==0.11.3.1
|
holidays==0.11.3.1
|
||||||
|
|
Loading…
Add table
Reference in a new issue