Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.coolmaster.entity.CoolmasterEntity Class Reference
Inheritance diagram for homeassistant.components.coolmaster.entity.CoolmasterEntity:
[legend]
Collaboration diagram for homeassistant.components.coolmaster.entity.CoolmasterEntity:
[legend]

Public Member Functions

None __init__ (self, CoolmasterDataUpdateCoordinator coordinator, str unit_id, dict[str, str] info)
 
- Public Member Functions inherited from homeassistant.helpers.update_coordinator.CoordinatorEntity
None __init__ (self, _DataUpdateCoordinatorT coordinator, Any context=None)
 
None async_update (self)
 
bool available (self)
 

Private Member Functions

None _handle_coordinator_update (self)
 

Private Attributes

 _unit
 

Static Private Attributes

bool _attr_has_entity_name = True
 

Detailed Description

Representation of a Coolmaster entity.

Definition at line 13 of file entity.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.coolmaster.entity.CoolmasterEntity.__init__ (   self,
CoolmasterDataUpdateCoordinator  coordinator,
str  unit_id,
dict[str, str]  info 
)
Initiate CoolmasterEntity.

Definition at line 18 of file entity.py.

Member Function Documentation

◆ _handle_coordinator_update()

None homeassistant.components.coolmaster.entity.CoolmasterEntity._handle_coordinator_update (   self)
private

Definition at line 39 of file entity.py.

Member Data Documentation

◆ _attr_has_entity_name

bool homeassistant.components.coolmaster.entity.CoolmasterEntity._attr_has_entity_name = True
staticprivate

Definition at line 16 of file entity.py.

◆ _unit

homeassistant.components.coolmaster.entity.CoolmasterEntity._unit
private

Definition at line 40 of file entity.py.


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