Private Attributes | |
| _hass | |
| _last_action | |
| _state | |
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 a Xiaomi Cube.
Definition at line 556 of file binary_sensor.py.
| def homeassistant.components.xiaomi_aqara.binary_sensor.XiaomiCube.__init__ | ( | self, | |
| device, | |||
| hass, | |||
| xiaomi_hub, | |||
| config_entry | |||
| ) |
Initialize the Xiaomi Cube.
Reimplemented from homeassistant.components.xiaomi_aqara.entity.XiaomiDevice.
Definition at line 559 of file binary_sensor.py.
| None homeassistant.components.xiaomi_aqara.binary_sensor.XiaomiCube.async_added_to_hass | ( | self | ) |
Handle entity which will be added.
Reimplemented from homeassistant.components.xiaomi_aqara.entity.XiaomiDevice.
Definition at line 576 of file binary_sensor.py.
| def homeassistant.components.xiaomi_aqara.binary_sensor.XiaomiCube.extra_state_attributes | ( | self | ) |
Return the state attributes.
Reimplemented from homeassistant.components.xiaomi_aqara.entity.XiaomiDevice.
Definition at line 570 of file binary_sensor.py.
| def homeassistant.components.xiaomi_aqara.binary_sensor.XiaomiCube.parse_data | ( | self, | |
| data, | |||
| raw_data | |||
| ) |
Parse data sent by gateway.
Reimplemented from homeassistant.components.xiaomi_aqara.entity.XiaomiDevice.
Definition at line 581 of file binary_sensor.py.
|
private |
Definition at line 561 of file binary_sensor.py.
|
private |
Definition at line 562 of file binary_sensor.py.
|
private |
Definition at line 579 of file binary_sensor.py.