From d8c5d08f90c75ad1b6f342c13f43ffa7fa8af5f8 Mon Sep 17 00:00:00 2001
From: epenet <6771947+epenet@users.noreply.github.com>
Date: Mon, 12 Sep 2022 18:18:37 +0200
Subject: [PATCH] Expose websocket_api constants in root (#78249)

---
 homeassistant/components/websocket_api/__init__.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/homeassistant/components/websocket_api/__init__.py b/homeassistant/components/websocket_api/__init__.py
index c98ca54d25a..043eb42c12a 100644
--- a/homeassistant/components/websocket_api/__init__.py
+++ b/homeassistant/components/websocket_api/__init__.py
@@ -12,6 +12,10 @@ from homeassistant.loader import bind_hass
 from . import commands, connection, const, decorators, http, messages  # noqa: F401
 from .connection import ActiveConnection, current_connection  # noqa: F401
 from .const import (  # noqa: F401
+    COMPRESSED_STATE_ATTRIBUTES,
+    COMPRESSED_STATE_LAST_CHANGED,
+    COMPRESSED_STATE_LAST_UPDATED,
+    COMPRESSED_STATE_STATE,
     ERR_HOME_ASSISTANT_ERROR,
     ERR_INVALID_FORMAT,
     ERR_NOT_FOUND,