1 parent
c7c0ed89c8
commit
54d463e746
5 files changed
+23
-23
No files matched your search
@@ -1,5 +1,5 @@
|
||||
"""
|
||||
Contains functionality to use a ZigBee device as a switch.
|
||||
Contains functionality to use a Zigbee device as a switch.
|
||||
|
||||
For more details about this platform, please refer to the documentation at
|
||||
https://home-assistant.io/components/switch.zigbee/
|
||||
@@ -25,11 +25,11 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
|
||||
|
||||
|
||||
def setup_platform(hass, config, add_entities, discovery_info=None):
|
||||
"""Set up the ZigBee switch platform."""
|
||||
"""Set up the Zigbee switch platform."""
|
||||
add_entities([ZigBeeSwitch(hass, ZigBeeDigitalOutConfig(config))])
|
||||
|
||||
|
||||
class ZigBeeSwitch(ZigBeeDigitalOut, SwitchDevice):
|
||||
"""Representation of a ZigBee Digital Out device."""
|
||||
"""Representation of a Zigbee Digital Out device."""
|
||||
|
||||
pass
|
||||
Reference in new issue
Block a user