Data class describing the ambilight effect.
Definition at line 55 of file light.py.
◆ __str__()
| str homeassistant.components.philips_js.light.AmbilightEffect.__str__ |
( |
|
self | ) |
|
Get a string representation of the effect.
Definition at line 95 of file light.py.
◆ from_str()
| AmbilightEffect homeassistant.components.philips_js.light.AmbilightEffect.from_str |
( |
str |
effect_string | ) |
|
|
static |
Create AmbilightEffect object from string.
Definition at line 85 of file light.py.
◆ is_on()
| bool homeassistant.components.philips_js.light.AmbilightEffect.is_on |
( |
|
self, |
|
|
|
powerstate |
|
) |
| |
Check whether the ambilight is considered on.
Definition at line 62 of file light.py.
◆ is_valid()
| bool homeassistant.components.philips_js.light.AmbilightEffect.is_valid |
( |
|
self | ) |
|
Validate the effect configuration.
Definition at line 78 of file light.py.
◆ mode
| homeassistant.components.philips_js.light.AmbilightEffect.mode |
◆ None
| homeassistant.components.philips_js.light.AmbilightEffect.None |
|
static |
◆ style
| homeassistant.components.philips_js.light.AmbilightEffect.style |
The documentation for this class was generated from the following file:
- core/homeassistant/components/philips_js/light.py