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:
1 parent
9035efee10
commit
757482ee85
7 files changed
+259
-111
No files matched your search
@@ -86,6 +86,7 @@ TEST_REQUIREMENTS = (
|
||||
"haversine",
|
||||
"hbmqtt",
|
||||
"hdate",
|
||||
"hole",
|
||||
"holidays",
|
||||
"home-assistant-frontend",
|
||||
"homekit[IP]",
|
||||
|
||||
Reference in new issue
Block a user