Fix typos in demo switch doc strings (#2480)

pull/2485/head
clach04 2016-07-09 00:35:55 -07:00 committed by Fabian Affolter
parent 03ef74b4ab
commit 344fb9c8b4
1 changed files with 2 additions and 2 deletions

View File

@ -18,10 +18,10 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None):
class DemoSwitch(SwitchDevice):
"""represenation of a demo switch."""
"""representation of a demo switch."""
def __init__(self, name, state, icon, assumed):
"""Initialize the Deom switch."""
"""Initialize the Demo switch."""
self._name = name or DEVICE_DEFAULT_NAME
self._state = state
self._icon = icon