mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Modern Forms light platform code cleanup (#52058)
This commit is contained in:
parent
03ec7b3d0b
commit
9cd3ffbd47
@ -80,7 +80,7 @@ async def async_setup_entry(
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
class ModernFormsLightEntity(LightEntity, ModernFormsDeviceEntity):
|
class ModernFormsLightEntity(ModernFormsDeviceEntity, LightEntity):
|
||||||
"""Defines a Modern Forms light."""
|
"""Defines a Modern Forms light."""
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
|
@ -8,7 +8,7 @@ set_light_sleep_timer:
|
|||||||
fields:
|
fields:
|
||||||
sleep_time:
|
sleep_time:
|
||||||
name: Sleep Time
|
name: Sleep Time
|
||||||
description: Number of seconds to set the timer.
|
description: Number of minutes to set the timer.
|
||||||
required: true
|
required: true
|
||||||
example: "900"
|
example: "900"
|
||||||
selector:
|
selector:
|
||||||
@ -33,7 +33,7 @@ set_fan_sleep_timer:
|
|||||||
fields:
|
fields:
|
||||||
sleep_time:
|
sleep_time:
|
||||||
name: Sleep Time
|
name: Sleep Time
|
||||||
description: Number of seconds to set the timer.
|
description: Number of minutes to set the timer.
|
||||||
required: true
|
required: true
|
||||||
example: "900"
|
example: "900"
|
||||||
selector:
|
selector:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user