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 authored and GitHub committed 2019-02-13 21:21:14 +01:00
1 parent 22af9707ad
commit 127c55e0c1
492 files changed
+1015 -3497

No files matched your search

+2 -8
View File
@@ -1,16 +1,11 @@
"""
Support for Zigbee devices.
For more details about this component, please refer to the documentation at
https://home-assistant.io/components/zigbee/
"""
"""Support for Zigbee devices."""
import logging
from binascii import hexlify, unhexlify
import voluptuous as vol
from homeassistant.const import (
EVENT_HOMEASSISTANT_STOP, CONF_DEVICE, CONF_NAME, CONF_PIN)
EVENT_HOMEASSISTANT_STOP, CONF_DEVICE, CONF_NAME, CONF_PIN, CONF_ADDRESS)
from homeassistant.helpers.entity import Entity
from homeassistant.helpers import config_validation as cv
from homeassistant.helpers.dispatcher import (
@@ -24,7 +19,6 @@ DOMAIN = 'zigbee'
SIGNAL_ZIGBEE_FRAME_RECEIVED = 'zigbee_frame_received'
CONF_ADDRESS = 'address'
CONF_BAUD = 'baud'
DEFAULT_DEVICE = '/dev/ttyUSB0'
@@ -1,9 +1,4 @@
"""
Contains functionality to use a Zigbee device as a binary sensor.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/binary_sensor.zigbee/
"""
"""Support for Zigbee binary sensors."""
import voluptuous as vol
from homeassistant.components.binary_sensor import BinarySensorDevice
+1 -6
View File
@@ -1,9 +1,4 @@
"""
Functionality to use a ZigBee device as a light.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/light.zigbee/
"""
"""Support for Zigbee lights."""
import voluptuous as vol
from homeassistant.components.light import Light
+1 -6
View File
@@ -1,9 +1,4 @@
"""
Support for functionality to use a ZigBee device as a sensor.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/sensor.zigbee/
"""
"""Support for Zigbee sensors."""
import logging
from binascii import hexlify
+1 -6
View File
@@ -1,9 +1,4 @@
"""
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/
"""
"""Support for Zigbee switches."""
import voluptuous as vol
from homeassistant.components.switch import SwitchDevice