Skip to content

Commit

Permalink
Remove some logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jdejaegh committed Dec 28, 2023
1 parent 88f8897 commit c82de28
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions custom_components/irm_kmi/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback):
"""Set up the camera entry."""

_LOGGER.debug(f'async_setup_entry entry is: {entry}')
coordinator = hass.data[DOMAIN][entry.entry_id]
async_add_entities([IrmKmiRadar(coordinator, entry)])

Expand Down Expand Up @@ -66,13 +65,11 @@ async def async_camera_image(

async def handle_async_still_stream(self, request: web.Request, interval: float) -> web.StreamResponse:
"""Generate an HTTP MJPEG stream from camera images."""
_LOGGER.info("handle_async_still_stream")
self._image_index = 0
return await async_get_still_stream(request, self.iterate, self.content_type, interval)

async def handle_async_mjpeg_stream(self, request: web.Request) -> web.StreamResponse:
"""Serve an HTTP MJPEG stream from the camera."""
_LOGGER.info("handle_async_mjpeg_stream")
return await self.handle_async_still_stream(request, self.frame_interval)

async def iterate(self) -> bytes | None:
Expand Down
1 change: 0 additions & 1 deletion custom_components/irm_kmi/weather.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback):
"""Set up the weather entry."""

_LOGGER.debug(f'async_setup_entry entry is: {entry}')
coordinator = hass.data[DOMAIN][entry.entry_id]
async_add_entities(
[IrmKmiWeather(coordinator, entry)]
Expand Down

0 comments on commit c82de28

Please sign in to comment.