Fix websocket connection sensor (#22923)
* Fix for #22890 * Singleton count
This commit is contained in:
1 parent
479511ee42
commit
2527731865
3 files changed
+22
-16
No files matched your search
@@ -24,3 +24,6 @@ CANCELLATION_ERRORS = (asyncio.CancelledError, futures.CancelledError)
|
||||
# Event types
|
||||
SIGNAL_WEBSOCKET_CONNECTED = 'websocket_connected'
|
||||
SIGNAL_WEBSOCKET_DISCONNECTED = 'websocket_disconnected'
|
||||
|
||||
# Data used to store the current connection list
|
||||
DATA_CONNECTIONS = DOMAIN + '.connections'
|
||||
Reference in new issue
Block a user