From 08f2714e57caa017451cb4d555bfc29b8bb088f7 Mon Sep 17 00:00:00 2001 From: Markus Bong Date: Fri, 29 May 2020 09:59:44 +0200 Subject: [PATCH] Change devolo HomeControl SwitchDevice to SwitchEntity (#36248) --- homeassistant/components/devolo_home_control/switch.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/devolo_home_control/switch.py b/homeassistant/components/devolo_home_control/switch.py index e5210262268..e70474a8d5d 100644 --- a/homeassistant/components/devolo_home_control/switch.py +++ b/homeassistant/components/devolo_home_control/switch.py @@ -1,7 +1,7 @@ -"""Platform for light integration.""" +"""Platform for switch integration.""" import logging -from homeassistant.components.switch import SwitchDevice +from homeassistant.components.switch import SwitchEntity from homeassistant.config_entries import ConfigEntry from homeassistant.helpers.typing import HomeAssistantType @@ -29,8 +29,8 @@ async def async_setup_entry( async_add_entities(entities) -class DevoloSwitch(SwitchDevice): - """Representation of an Awesome Light.""" +class DevoloSwitch(SwitchEntity): + """Representation of a switch.""" def __init__(self, homecontrol, device_instance, element_uid): """Initialize an devolo Switch."""