Private Attributes | |
| _zone_number | |
| _zone_type | |
Additional Inherited Members | |
Public Attributes inherited from homeassistant.helpers.entity.Entity | |
| device_entry | |
| entity_id | |
| hass | |
| parallel_updates | |
| platform | |
| registry_entry | |
Public Attributes inherited from homeassistant.components.binary_sensor.BinarySensorEntity | |
| entity_category | |
Static Public Attributes inherited from homeassistant.helpers.entity.Entity | |
| bool | |
| EntityPlatform | |
| HomeAssistant | |
| None | |
| StateInfo | |
| StateType | |
| str | |
Static Public Attributes inherited from homeassistant.components.binary_sensor.BinarySensorEntity | |
| None | |
Representation of an Envisalink binary sensor.
Definition at line 49 of file binary_sensor.py.
| def homeassistant.components.envisalink.binary_sensor.EnvisalinkBinarySensor.__init__ | ( | self, | |
| hass, | |||
| zone_number, | |||
| zone_name, | |||
| zone_type, | |||
| info, | |||
| controller | |||
| ) |
Initialize the binary_sensor.
Definition at line 52 of file binary_sensor.py.
| None homeassistant.components.envisalink.binary_sensor.EnvisalinkBinarySensor.async_added_to_hass | ( | self | ) |
Register callbacks.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 60 of file binary_sensor.py.
| def homeassistant.components.envisalink.binary_sensor.EnvisalinkBinarySensor.async_update_callback | ( | self, | |
| zone | |||
| ) |
Update the zone's state, if needed.
Definition at line 110 of file binary_sensor.py.
| def homeassistant.components.envisalink.binary_sensor.EnvisalinkBinarySensor.device_class | ( | self | ) |
Return the class of this sensor, from DEVICE_CLASSES.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 105 of file binary_sensor.py.
| def homeassistant.components.envisalink.binary_sensor.EnvisalinkBinarySensor.extra_state_attributes | ( | self | ) |
Return the state attributes.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 69 of file binary_sensor.py.
| def homeassistant.components.envisalink.binary_sensor.EnvisalinkBinarySensor.is_on | ( | self | ) |
Return true if sensor is on.
Definition at line 100 of file binary_sensor.py.
|
private |
Definition at line 55 of file binary_sensor.py.
|
private |
Definition at line 54 of file binary_sensor.py.