From 00c0ea8869dbe4241a4ad6dea562a62bedea7b68 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 16 Aug 2022 15:33:33 +0200 Subject: [PATCH] Remove stale debug prints (#76865) --- homeassistant/components/unifiprotect/media_source.py | 1 - tests/components/flo/test_sensor.py | 2 -- tests/components/group/test_fan.py | 1 - 3 files changed, 4 deletions(-) diff --git a/homeassistant/components/unifiprotect/media_source.py b/homeassistant/components/unifiprotect/media_source.py index 17db4db5c3c..f9ea3620be3 100644 --- a/homeassistant/components/unifiprotect/media_source.py +++ b/homeassistant/components/unifiprotect/media_source.py @@ -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 diff --git a/tests/components/flo/test_sensor.py b/tests/components/flo/test_sensor.py index b5439241d33..c3266a84bd8 100644 --- a/tests/components/flo/test_sensor.py +++ b/tests/components/flo/test_sensor.py @@ -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] diff --git a/tests/components/group/test_fan.py b/tests/components/group/test_fan.py index bb2cf311191..b8e47bfb289 100644 --- a/tests/components/group/test_fan.py +++ b/tests/components/group/test_fan.py @@ -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, {})