Update name (fixes #17752) (#17756)

This commit is contained in:
Fabian Affolter authored and GitHub committed 2018-10-24 18:59:52 +02:00
1 parent c7c0ed89c8
commit 54d463e746
5 files changed
+23 -23

No files matched your search

@@ -106,7 +106,7 @@ class XiaomiGenericSwitch(XiaomiDevice, SwitchDevice):
@property
def should_poll(self):
"""Return the polling state. Polling needed for zigbee plug only."""
"""Return the polling state. Polling needed for Zigbee plug only."""
return self._supports_power_consumption
def turn_on(self, **kwargs):
+3 -3
View File
@@ -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