Skip to content

Commit

Permalink
test registered views
Browse files Browse the repository at this point in the history
  • Loading branch information
grimmpp committed Dec 12, 2024
1 parent cb7d935 commit 5f4bdad
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions custom_components/eltako/front_end/info_page_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ class InfoPageView(HomeAssistantView):
async def get(self, request):
"""Handle GET request."""

headers = request.headers
# Log the headers for debugging
request.app["hass"].logger.debug(f"Request headers: {headers}")

return web.Response(
text="<html><body><h1>Hello, Home Assistant!</h1></body></html>",
content_type="text/html"
Expand Down

0 comments on commit 5f4bdad

Please sign in to comment.