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

Public Member Functions

None __init__ (self, DataUpdateCoordinator coordinator, str unique_id, str name, str icon, str host_name, str node_name, int|None vm_id=None)
 
bool available (self)
 
- Public Member Functions inherited from homeassistant.helpers.update_coordinator.CoordinatorEntity
None __init__ (self, _DataUpdateCoordinatorT coordinator, Any context=None)
 
None async_update (self)
 

Public Attributes

 coordinator
 

Private Attributes

 _attr_icon
 
 _attr_name
 
 _attr_unique_id
 
 _available
 
 _host_name
 
 _node_name
 
 _state
 
 _vm_id
 

Detailed Description

Represents any entity created for the Proxmox VE platform.

Definition at line 9 of file entity.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.proxmoxve.entity.ProxmoxEntity.__init__ (   self,
DataUpdateCoordinator  coordinator,
str  unique_id,
str  name,
str  icon,
str  host_name,
str  node_name,
int | None   vm_id = None 
)
Initialize the Proxmox entity.

Definition at line 12 of file entity.py.

Member Function Documentation

◆ available()

bool homeassistant.components.proxmoxve.entity.ProxmoxEntity.available (   self)
Return True if entity is available.

Reimplemented from homeassistant.helpers.update_coordinator.CoordinatorEntity.

Reimplemented in homeassistant.components.proxmoxve.binary_sensor.ProxmoxBinarySensor.

Definition at line 37 of file entity.py.

Member Data Documentation

◆ _attr_icon

homeassistant.components.proxmoxve.entity.ProxmoxEntity._attr_icon
private

Definition at line 29 of file entity.py.

◆ _attr_name

homeassistant.components.proxmoxve.entity.ProxmoxEntity._attr_name
private

Definition at line 27 of file entity.py.

◆ _attr_unique_id

homeassistant.components.proxmoxve.entity.ProxmoxEntity._attr_unique_id
private

Definition at line 26 of file entity.py.

◆ _available

homeassistant.components.proxmoxve.entity.ProxmoxEntity._available
private

Definition at line 30 of file entity.py.

◆ _host_name

homeassistant.components.proxmoxve.entity.ProxmoxEntity._host_name
private

Definition at line 28 of file entity.py.

◆ _node_name

homeassistant.components.proxmoxve.entity.ProxmoxEntity._node_name
private

Definition at line 31 of file entity.py.

◆ _state

homeassistant.components.proxmoxve.entity.ProxmoxEntity._state
private

Definition at line 34 of file entity.py.

◆ _vm_id

homeassistant.components.proxmoxve.entity.ProxmoxEntity._vm_id
private

Definition at line 32 of file entity.py.

◆ coordinator

homeassistant.components.proxmoxve.entity.ProxmoxEntity.coordinator

Definition at line 25 of file entity.py.


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