Remove stale debug prints (#76865)

This commit is contained in:
Franck Nijhof 2022-08-16 15:33:33 +02:00 committed by GitHub
parent 45b253f65f
commit 00c0ea8869
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 4 deletions

View file

@ -839,7 +839,6 @@ class ProtectMediaSource(MediaSource):
"""Return all media source for all UniFi Protect NVRs."""
consoles: list[BrowseMediaSource] = []
print(len(self.data_sources.values()))
for data_source in self.data_sources.values():
if not data_source.api.bootstrap.has_media:
continue

View file

@ -18,7 +18,6 @@ async def test_sensors(hass, config_entry, aioclient_mock_fixture):
assert len(hass.data[FLO_DOMAIN][config_entry.entry_id]["devices"]) == 2
# we should have 5 entities for the valve
print(hass.states)
assert (
hass.states.get("sensor.smart_water_shutoff_current_system_mode").state
== "home"
@ -59,7 +58,6 @@ async def test_sensors(hass, config_entry, aioclient_mock_fixture):
)
# and 3 entities for the detector
print(hass.states)
assert hass.states.get("sensor.kitchen_sink_temperature").state == "16"
assert (
hass.states.get("sensor.kitchen_sink_temperature").attributes[ATTR_STATE_CLASS]

View file

@ -148,7 +148,6 @@ async def test_state(hass, setup_comp):
for state_1 in (STATE_UNAVAILABLE, STATE_UNKNOWN):
for state_2 in (STATE_UNAVAILABLE, STATE_UNKNOWN):
for state_3 in (STATE_UNAVAILABLE, STATE_UNKNOWN):
print("meh")
hass.states.async_set(CEILING_FAN_ENTITY_ID, state_1, {})
hass.states.async_set(LIVING_ROOM_FAN_ENTITY_ID, state_2, {})
hass.states.async_set(PERCENTAGE_FULL_FAN_ENTITY_ID, state_3, {})