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:
Fabian Affolter 2019-02-13 21:21:14 +01:00 committed by GitHub
parent 22af9707ad
commit 127c55e0c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
492 changed files with 1015 additions and 3497 deletions

View file

@ -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):