Class to async connect to a Xiaomi Device.
Definition at line 13 of file device.py.
◆ __init__()
| def homeassistant.components.xiaomi_miio.device.ConnectXiaomiDevice.__init__ |
( |
|
self, |
|
|
|
hass |
|
) |
| |
Initialize the entity.
Definition at line 16 of file device.py.
◆ async_connect_device()
| def homeassistant.components.xiaomi_miio.device.ConnectXiaomiDevice.async_connect_device |
( |
|
self, |
|
|
|
host, |
|
|
|
token |
|
) |
| |
Connect to the Xiaomi Device.
Definition at line 32 of file device.py.
◆ device()
| def homeassistant.components.xiaomi_miio.device.ConnectXiaomiDevice.device |
( |
|
self | ) |
|
Return the class containing all connections to the device.
Definition at line 23 of file device.py.
◆ device_info()
| def homeassistant.components.xiaomi_miio.device.ConnectXiaomiDevice.device_info |
( |
|
self | ) |
|
Return the class containing device info.
Definition at line 28 of file device.py.
◆ _device
| homeassistant.components.xiaomi_miio.device.ConnectXiaomiDevice._device |
|
private |
◆ _device_info
| homeassistant.components.xiaomi_miio.device.ConnectXiaomiDevice._device_info |
|
private |
◆ _hass
| homeassistant.components.xiaomi_miio.device.ConnectXiaomiDevice._hass |
|
private |
The documentation for this class was generated from the following file:
- core/homeassistant/components/xiaomi_miio/device.py