mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 06:07:17 +00:00
Fix typos in demo switch doc strings (#2480)
This commit is contained in:
parent
03ef74b4ab
commit
344fb9c8b4
@ -18,10 +18,10 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None):
|
|||||||
|
|
||||||
|
|
||||||
class DemoSwitch(SwitchDevice):
|
class DemoSwitch(SwitchDevice):
|
||||||
"""represenation of a demo switch."""
|
"""representation of a demo switch."""
|
||||||
|
|
||||||
def __init__(self, name, state, icon, assumed):
|
def __init__(self, name, state, icon, assumed):
|
||||||
"""Initialize the Deom switch."""
|
"""Initialize the Demo switch."""
|
||||||
self._name = name or DEVICE_DEFAULT_NAME
|
self._name = name or DEVICE_DEFAULT_NAME
|
||||||
self._state = state
|
self._state = state
|
||||||
self._icon = icon
|
self._icon = icon
|
||||||
|
Loading…
x
Reference in New Issue
Block a user