From 9cd3ffbd47b647c856f25295b0a62ed8de086c71 Mon Sep 17 00:00:00 2001 From: Brian Towles Date: Tue, 22 Jun 2021 03:10:49 -0500 Subject: [PATCH] Modern Forms light platform code cleanup (#52058) --- homeassistant/components/modern_forms/light.py | 2 +- homeassistant/components/modern_forms/services.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/modern_forms/light.py b/homeassistant/components/modern_forms/light.py index 4b3b675c9e0..2c8298f00da 100644 --- a/homeassistant/components/modern_forms/light.py +++ b/homeassistant/components/modern_forms/light.py @@ -80,7 +80,7 @@ async def async_setup_entry( ) -class ModernFormsLightEntity(LightEntity, ModernFormsDeviceEntity): +class ModernFormsLightEntity(ModernFormsDeviceEntity, LightEntity): """Defines a Modern Forms light.""" def __init__( diff --git a/homeassistant/components/modern_forms/services.yaml b/homeassistant/components/modern_forms/services.yaml index d4f2f0e7997..ce3c29f39b5 100644 --- a/homeassistant/components/modern_forms/services.yaml +++ b/homeassistant/components/modern_forms/services.yaml @@ -8,7 +8,7 @@ set_light_sleep_timer: fields: sleep_time: name: Sleep Time - description: Number of seconds to set the timer. + description: Number of minutes to set the timer. required: true example: "900" selector: @@ -33,7 +33,7 @@ set_fan_sleep_timer: fields: sleep_time: name: Sleep Time - description: Number of seconds to set the timer. + description: Number of minutes to set the timer. required: true example: "900" selector: