|
| None | __init__ (self, WsServer ws_server) |
| |
| WebSocketResponse | get (self, Request request) |
| |
Handle pushes from Shelly Gen2 devices.
Definition at line 257 of file utils.py.
◆ __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.
◆ get()
| WebSocketResponse homeassistant.components.shelly.utils.ShellyReceiver.get |
( |
|
self, |
|
|
Request |
request |
|
) |
| |
Start a get request.
Definition at line 268 of file utils.py.
◆ _ws_server
| homeassistant.components.shelly.utils.ShellyReceiver._ws_server |
|
private |
◆ name
| string homeassistant.components.shelly.utils.ShellyReceiver.name = "api:shelly:ws" |
|
static |
◆ requires_auth
| bool homeassistant.components.shelly.utils.ShellyReceiver.requires_auth = False |
|
static |
◆ url
| homeassistant.components.shelly.utils.ShellyReceiver.url = API_WS_URL |
|
static |
The documentation for this class was generated from the following file:
- core/homeassistant/components/shelly/utils.py