Fix typos in demo switch doc strings (#2480)
parent
03ef74b4ab
commit
344fb9c8b4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue