Static Private Attributes | |
| string | _attr_translation_key = "nightlight" |
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 Yeelight nightlight mode sensor.
Definition at line 29 of file binary_sensor.py.
| None homeassistant.components.yeelight.binary_sensor.YeelightNightlightModeSensor.async_added_to_hass | ( | self | ) |
Handle entity which will be added.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 34 of file binary_sensor.py.
| def homeassistant.components.yeelight.binary_sensor.YeelightNightlightModeSensor.is_on | ( | self | ) |
Return true if nightlight mode is on.
Definition at line 51 of file binary_sensor.py.
| str homeassistant.components.yeelight.binary_sensor.YeelightNightlightModeSensor.unique_id | ( | self | ) |
Return a unique ID.
Reimplemented from homeassistant.components.yeelight.entity.YeelightEntity.
Definition at line 46 of file binary_sensor.py.
|
staticprivate |
Definition at line 32 of file binary_sensor.py.