Skip to content

Commit

Permalink
Upgrade hole to 0.7.0 (home-assistant#60779)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Dec 1, 2021
1 parent a1aaecb commit b32e1d9
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion homeassistant/components/pi_hole/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/pi_hole/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,5 +170,5 @@ async def _async_try_connect(
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()
2 changes: 1 addition & 1 deletion homeassistant/components/pi_hole/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b32e1d9

Please sign in to comment.