Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.kitchen_sink.device Namespace Reference

Functions

dr.DeviceEntry async_create_device (HomeAssistant hass, str config_entry_id, str|None device_name, str|None device_translation_key, dict[str, str]|None device_translation_placeholders, str unique_id)
 

Detailed Description

Create device without entities.

Function Documentation

◆ async_create_device()

dr.DeviceEntry homeassistant.components.kitchen_sink.device.async_create_device ( HomeAssistant  hass,
str  config_entry_id,
str | None  device_name,
str | None  device_translation_key,
dict[str, str] | None  device_translation_placeholders,
str  unique_id 
)
Create a device.

Definition at line 11 of file device.py.