1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Update file header (#21054)

* Update file header

* Update __init__.py
This commit is contained in:
Fabian Affolter
2019-02-14 05:35:12 +01:00
committed by Paulus Schoutsen
parent 3a386e627e
commit 161c368c9d
165 changed files with 482 additions and 1346 deletions

View File

@@ -1,10 +1,4 @@
"""
Support for KNX/IP binary sensors.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/binary_sensor.knx/
"""
"""Support for KNX/IP binary sensors."""
import voluptuous as vol
from homeassistant.components.binary_sensor import (
@@ -35,7 +29,7 @@ DEPENDENCIES = ['knx']
AUTOMATION_SCHEMA = vol.Schema({
vol.Optional(CONF_HOOK, default=CONF_DEFAULT_HOOK): cv.string,
vol.Optional(CONF_COUNTER, default=CONF_DEFAULT_COUNTER): cv.port,
vol.Required(CONF_ACTION): cv.SCRIPT_SCHEMA
vol.Required(CONF_ACTION): cv.SCRIPT_SCHEMA,
})
AUTOMATIONS_SCHEMA = vol.All(