Fix translation of status binary sensor in PI-Hole (#90719)

This commit is contained in:
Michael
2023-04-03 16:50:56 -04:00
committed by Paulus Schoutsen
parent 28983bca85
commit 431fbee641
2 changed files with 2 additions and 6 deletions
+2 -2
View File
@@ -71,8 +71,8 @@ async def test_setup_with_defaults(hass: HomeAssistant) -> None:
assert state.name == "Pi-Hole Seen clients"
assert state.state == "0"
state = hass.states.get("binary_sensor.pi_hole")
assert state.name == "Pi-Hole"
state = hass.states.get("binary_sensor.pi_hole_status")
assert state.name == "Pi-Hole Status"
assert state.state == "off"