Static Private Attributes | |
| _attr_device_class = BinarySensorDeviceClass.RUNNING | |
Additional Inherited Members | |
Public Attributes inherited from homeassistant.components.proxmoxve.entity.ProxmoxEntity | |
| coordinator | |
Public Attributes inherited from homeassistant.components.binary_sensor.BinarySensorEntity | |
| entity_category | |
Public Attributes inherited from homeassistant.helpers.entity.Entity | |
| device_entry | |
| entity_id | |
| hass | |
| parallel_updates | |
| platform | |
| registry_entry | |
Static Public Attributes inherited from homeassistant.components.binary_sensor.BinarySensorEntity | |
| None | |
Static Public Attributes inherited from homeassistant.helpers.entity.Entity | |
| bool | |
| EntityPlatform | |
| HomeAssistant | |
| None | |
| StateInfo | |
| StateType | |
| str | |
A binary sensor for reading Proxmox VE data.
Definition at line 75 of file binary_sensor.py.
| None homeassistant.components.proxmoxve.binary_sensor.ProxmoxBinarySensor.__init__ | ( | self, | |
| DataUpdateCoordinator | coordinator, | ||
| str | unique_id, | ||
| str | name, | ||
| str | icon, | ||
| str | host_name, | ||
| str | node_name, | ||
| int | vm_id | ||
| ) |
Create the binary sensor for vms or containers.
Definition at line 80 of file binary_sensor.py.
| bool homeassistant.components.proxmoxve.binary_sensor.ProxmoxBinarySensor.available | ( | self | ) |
Return sensor availability.
Reimplemented from homeassistant.components.proxmoxve.entity.ProxmoxEntity.
Definition at line 104 of file binary_sensor.py.
Return the state of the binary sensor.
Definition at line 96 of file binary_sensor.py.
|
staticprivate |
Definition at line 78 of file binary_sensor.py.