diff --git a/homeassistant/components/remote_rpi_gpio/switch.py b/homeassistant/components/remote_rpi_gpio/switch.py index 42ce258ef98..48e072a5d6b 100644 --- a/homeassistant/components/remote_rpi_gpio/switch.py +++ b/homeassistant/components/remote_rpi_gpio/switch.py @@ -3,7 +3,7 @@ import logging import voluptuous as vol -from homeassistant.components.switch import PLATFORM_SCHEMA, SwitchDevice +from homeassistant.components.switch import PLATFORM_SCHEMA, SwitchEntity from homeassistant.const import CONF_HOST, DEVICE_DEFAULT_NAME import homeassistant.helpers.config_validation as cv @@ -43,8 +43,8 @@ def setup_platform(hass, config, add_entities, discovery_info=None): add_entities(devices) -class RemoteRPiGPIOSwitch(SwitchDevice): - """Representation of a Remtoe Raspberry Pi GPIO.""" +class RemoteRPiGPIOSwitch(SwitchEntity): + """Representation of a Remote Raspberry Pi GPIO.""" def __init__(self, name, led): """Initialize the pin."""