Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.hardware.websocket_api Namespace Reference

Classes

class  SystemStatus
 

Functions

None async_setup (HomeAssistant hass)
 
None ws_info (HomeAssistant hass, websocket_api.ActiveConnection connection, dict[str, Any] msg)
 
None ws_subscribe_system_status (HomeAssistant hass, websocket_api.ActiveConnection connection, dict[str, Any] msg)
 

Detailed Description

The Hardware websocket API.

Function Documentation

◆ async_setup()

None homeassistant.components.hardware.websocket_api.async_setup ( HomeAssistant  hass)
Set up the hardware websocket API.

Definition at line 33 of file websocket_api.py.

◆ ws_info()

None homeassistant.components.hardware.websocket_api.ws_info ( HomeAssistant  hass,
websocket_api.ActiveConnection  connection,
dict[str, Any]   msg 
)
Return hardware info.

Definition at line 50 of file websocket_api.py.

◆ ws_subscribe_system_status()

None homeassistant.components.hardware.websocket_api.ws_subscribe_system_status ( HomeAssistant  hass,
websocket_api.ActiveConnection  connection,
dict[str, Any]   msg 
)
Subscribe to system status updates.

Definition at line 76 of file websocket_api.py.