Upgrade hole to 0.7.0 (#60779)

This commit is contained in:
Franck Nijhof 2021-12-01 19:44:42 +01:00 committed by GitHub
parent a1aaecb3bf
commit b32e1d9339
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 4 additions and 5 deletions

View file

@ -102,7 +102,6 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
session = async_get_clientsession(hass, verify_tls)
api = Hole(
host,
hass.loop,
session,
location=location,
tls=use_tls,

View file

@ -170,5 +170,5 @@ class PiHoleFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
self, host: str, location: str, tls: bool, verify_tls: bool
) -> None:
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()

View file

@ -2,7 +2,7 @@
"domain": "pi_hole",
"name": "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"],
"config_flow": true,
"iot_class": "local_polling"

View file

@ -813,7 +813,7 @@ hkavr==0.0.5
hlk-sw16==0.0.9
# homeassistant.components.pi_hole
hole==0.6.0
hole==0.7.0
# homeassistant.components.workday
holidays==0.11.3.1

View file

@ -509,7 +509,7 @@ herepy==2.0.0
hlk-sw16==0.0.9
# homeassistant.components.pi_hole
hole==0.6.0
hole==0.7.0
# homeassistant.components.workday
holidays==0.11.3.1