Update file header (#21023)
* Update file header * Update file header * Update file header * Update file header * Update file header * Fix lint issues
This commit is contained in:
parent
22af9707ad
commit
127c55e0c1
492 changed files with 1015 additions and 3497 deletions
|
@ -1,9 +1,4 @@
|
|||
"""
|
||||
Switch support for the Skybell HD Doorbell.
|
||||
|
||||
For more details about this platform, please refer to the documentation at
|
||||
https://home-assistant.io/components/switch.skybell/
|
||||
"""
|
||||
"""Switch support for the Skybell HD Doorbell."""
|
||||
import logging
|
||||
|
||||
import voluptuous as vol
|
||||
|
@ -53,8 +48,8 @@ class SkybellSwitch(SkybellDevice, SwitchDevice):
|
|||
"""Initialize a light for a Skybell device."""
|
||||
super().__init__(device)
|
||||
self._switch_type = switch_type
|
||||
self._name = "{0} {1}".format(self._device.name,
|
||||
SWITCH_TYPES[self._switch_type][0])
|
||||
self._name = "{0} {1}".format(
|
||||
self._device.name, SWITCH_TYPES[self._switch_type][0])
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue