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

Public Member Functions

None __init__ (self, SwitcherDataUpdateCoordinator coordinator)
 
- 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)
 
- Public Member Functions inherited from homeassistant.components.switcher_kis.coordinator.SwitcherDataUpdateCoordinator
None __init__ (self, HomeAssistant hass, ConfigEntry entry, SwitcherBase device)
 
None async_setup (self)
 
str device_id (self)
 
str mac_address (self)
 
str model (self)
 

Private Attributes

 _attr_device_info
 

Static Private Attributes

bool _attr_has_entity_name = True
 

Additional Inherited Members

- Public Attributes inherited from homeassistant.components.switcher_kis.coordinator.SwitcherDataUpdateCoordinator
 data
 
 token
 

Detailed Description

Base class for Switcher entities.

Definition at line 10 of file entity.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.switcher_kis.entity.SwitcherEntity.__init__ (   self,
SwitcherDataUpdateCoordinator  coordinator 
)
Initialize the entity.

Reimplemented in homeassistant.components.switcher_kis.switch.SwitcherBaseSwitchEntity.

Definition at line 15 of file entity.py.

Member Data Documentation

◆ _attr_device_info

homeassistant.components.switcher_kis.entity.SwitcherEntity._attr_device_info
private

Definition at line 18 of file entity.py.

◆ _attr_has_entity_name

bool homeassistant.components.switcher_kis.entity.SwitcherEntity._attr_has_entity_name = True
staticprivate

Definition at line 13 of file entity.py.


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