Classes | |
| class | ProxmoxBinarySensor |
Functions | |
| None | async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback add_entities, DiscoveryInfoType|None discovery_info=None) |
| ProxmoxBinarySensor | create_binary_sensor (coordinator, str host_name, str node_name, int vm_id, str name) |
Binary sensor to read Proxmox VE data.
| None homeassistant.components.proxmoxve.binary_sensor.async_setup_platform | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| AddEntitiesCallback | add_entities, | ||
| DiscoveryInfoType | None | discovery_info = None |
||
| ) |
Set up binary sensors.
Definition at line 18 of file binary_sensor.py.
| ProxmoxBinarySensor homeassistant.components.proxmoxve.binary_sensor.create_binary_sensor | ( | coordinator, | |
| str | host_name, | ||
| str | node_name, | ||
| int | vm_id, | ||
| str | name | ||
| ) |
Create a binary sensor based on the given data.
Definition at line 56 of file binary_sensor.py.