Private Attributes | |
| _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 Vibration Sensor.
Definition at line 457 of file binary_sensor.py.
| def homeassistant.components.xiaomi_aqara.binary_sensor.XiaomiVibration.__init__ | ( | self, | |
| device, | |||
| name, | |||
| data_key, | |||
| xiaomi_hub, | |||
| config_entry | |||
| ) |
Initialize the XiaomiVibration.
Definition at line 460 of file binary_sensor.py.
| None homeassistant.components.xiaomi_aqara.binary_sensor.XiaomiVibration.async_added_to_hass | ( | self | ) |
Handle entity which will be added.
Reimplemented from homeassistant.components.xiaomi_aqara.entity.XiaomiDevice.
Definition at line 472 of file binary_sensor.py.
| def homeassistant.components.xiaomi_aqara.binary_sensor.XiaomiVibration.extra_state_attributes | ( | self | ) |
Return the state attributes.
Reimplemented from homeassistant.components.xiaomi_aqara.entity.XiaomiDevice.
Definition at line 466 of file binary_sensor.py.
| def homeassistant.components.xiaomi_aqara.binary_sensor.XiaomiVibration.parse_data | ( | self, | |
| data, | |||
| raw_data | |||
| ) |
Parse data sent by gateway.
Reimplemented from homeassistant.components.xiaomi_aqara.entity.XiaomiDevice.
Definition at line 477 of file binary_sensor.py.
|
private |
Definition at line 462 of file binary_sensor.py.
|
private |
Definition at line 475 of file binary_sensor.py.