Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.shelly.utils.ShellyReceiver Class Reference
Inheritance diagram for homeassistant.components.shelly.utils.ShellyReceiver:
[legend]
Collaboration diagram for homeassistant.components.shelly.utils.ShellyReceiver:
[legend]

Public Member Functions

None __init__ (self, WsServer ws_server)
 
WebSocketResponse get (self, Request request)
 

Static Public Attributes

string name = "api:shelly:ws"
 
bool requires_auth = False
 
 url = API_WS_URL
 

Private Attributes

 _ws_server
 

Detailed Description

Handle pushes from Shelly Gen2 devices.

Definition at line 257 of file utils.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.shelly.utils.ShellyReceiver.__init__ (   self,
WsServer  ws_server 
)
Initialize the Shelly receiver view.

Definition at line 264 of file utils.py.

Member Function Documentation

◆ get()

WebSocketResponse homeassistant.components.shelly.utils.ShellyReceiver.get (   self,
Request  request 
)
Start a get request.

Definition at line 268 of file utils.py.

Member Data Documentation

◆ _ws_server

homeassistant.components.shelly.utils.ShellyReceiver._ws_server
private

Definition at line 266 of file utils.py.

◆ name

string homeassistant.components.shelly.utils.ShellyReceiver.name = "api:shelly:ws"
static

Definition at line 262 of file utils.py.

◆ requires_auth

bool homeassistant.components.shelly.utils.ShellyReceiver.requires_auth = False
static

Definition at line 260 of file utils.py.

◆ url

homeassistant.components.shelly.utils.ShellyReceiver.url = API_WS_URL
static

Definition at line 261 of file utils.py.


The documentation for this class was generated from the following file: