Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.config.device_registry Namespace Reference

Functions

bool async_setup (HomeAssistant hass)
 
None websocket_list_devices (HomeAssistant hass, websocket_api.ActiveConnection connection, dict[str, Any] msg)
 
None websocket_remove_config_entry_from_device (HomeAssistant hass, websocket_api.ActiveConnection connection, dict[str, Any] msg)
 
None websocket_update_device (HomeAssistant hass, websocket_api.ActiveConnection connection, dict[str, Any] msg)
 

Detailed Description

HTTP views to interact with the device registry.

Function Documentation

◆ async_setup()

bool homeassistant.components.config.device_registry.async_setup ( HomeAssistant  hass)
Enable the Device Registry views.

Definition at line 19 of file device_registry.py.

◆ websocket_list_devices()

None homeassistant.components.config.device_registry.websocket_list_devices ( HomeAssistant  hass,
websocket_api.ActiveConnection  connection,
dict[str, Any]  msg 
)
Handle list devices command.

Definition at line 36 of file device_registry.py.

◆ websocket_remove_config_entry_from_device()

None homeassistant.components.config.device_registry.websocket_remove_config_entry_from_device ( HomeAssistant  hass,
websocket_api.ActiveConnection  connection,
dict[str, Any]  msg 
)
Remove config entry from a device.

Definition at line 106 of file device_registry.py.

◆ websocket_update_device()

None homeassistant.components.config.device_registry.websocket_update_device ( HomeAssistant  hass,
websocket_api.ActiveConnection  connection,
dict[str, Any]  msg 
)
Handle update device websocket command.

Definition at line 74 of file device_registry.py.