Refactor pihole integration (#25837)
* Adds tests for pi_hole integration * Refactor pi_hole component to an integration supporting multiple platforms * Adds mock of Hole dependency * Aborts platform setup when discovery_info is none * Removes use of monitored_conditions * Adds integration setup test * Removes PlatformNotReady check * Adds sensor test * Code review updates * Refactor tests to assert state through hass * Reorder imports
This commit is contained in:
parent
9035efee10
commit
757482ee85
7 changed files with 259 additions and 111 deletions
|
@ -86,6 +86,7 @@ TEST_REQUIREMENTS = (
|
|||
"haversine",
|
||||
"hbmqtt",
|
||||
"hdate",
|
||||
"hole",
|
||||
"holidays",
|
||||
"home-assistant-frontend",
|
||||
"homekit[IP]",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue