Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.melcloud.MelCloudDevice Class Reference

Public Member Functions

None __init__ (self, Device device)
 
def async_set (self, dict[str, Any] properties)
 
def async_update (self, **kwargs)
 
bool available (self)
 
def building_id (self)
 
def device_id (self)
 
DeviceInfo device_info (self)
 
DeviceInfo zone_device_info (self, Zone zone)
 

Public Attributes

 device
 
 name
 

Private Attributes

 _available
 

Detailed Description

MELCloud Device instance.

Definition at line 59 of file __init__.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.melcloud.MelCloudDevice.__init__ (   self,
Device  device 
)
Construct a device wrapper.

Definition at line 62 of file __init__.py.

Member Function Documentation

◆ async_set()

def homeassistant.components.melcloud.MelCloudDevice.async_set (   self,
dict[str, Any]  properties 
)
Write state changes to the MELCloud API.

Definition at line 78 of file __init__.py.

◆ async_update()

def homeassistant.components.melcloud.MelCloudDevice.async_update (   self,
**  kwargs 
)
Pull the latest data from MELCloud.

Definition at line 69 of file __init__.py.

◆ available()

bool homeassistant.components.melcloud.MelCloudDevice.available (   self)
Return True if entity is available.

Definition at line 88 of file __init__.py.

◆ building_id()

def homeassistant.components.melcloud.MelCloudDevice.building_id (   self)
Return building ID of the device.

Definition at line 98 of file __init__.py.

◆ device_id()

def homeassistant.components.melcloud.MelCloudDevice.device_id (   self)
Return device ID.

Definition at line 93 of file __init__.py.

◆ device_info()

DeviceInfo homeassistant.components.melcloud.MelCloudDevice.device_info (   self)
Return a device description for device registry.

Definition at line 103 of file __init__.py.

◆ zone_device_info()

DeviceInfo homeassistant.components.melcloud.MelCloudDevice.zone_device_info (   self,
Zone  zone 
)
Return a zone device description for device registry.

Definition at line 116 of file __init__.py.

Member Data Documentation

◆ _available

homeassistant.components.melcloud.MelCloudDevice._available
private

Definition at line 66 of file __init__.py.

◆ device

homeassistant.components.melcloud.MelCloudDevice.device

Definition at line 64 of file __init__.py.

◆ name

homeassistant.components.melcloud.MelCloudDevice.name

Definition at line 65 of file __init__.py.


The documentation for this class was generated from the following file: