hass-core/homeassistant/components/ihc/ihc_auto_setup.yaml
Jens Østergaard Nielsen e02d5e7ff1 Ihc component and platforms (#10916)
* Added IHC platform

* Updated requirements for IHC platform

* Exclude IHC from test

* Correcting flake8 issues

* Fixing more flake8 issues

* Fixed flake8 issues

* Fixing pylint issues

* Fixed flake8 issues

* Changes from PR review.

* STATE_UNKNOWN changed to None

* Spelling mistake in comment

* Added IHC platform

* Updated requirements for IHC platform

* Exclude IHC from test

* Correcting flake8 issues

* Fixing more flake8 issues

* Fixed flake8 issues

* Fixing pylint issues

* Fixed flake8 issues

* Changes from PR review.

* STATE_UNKNOWN changed to None

* Spelling mistake in comment

* Updated requirements_all.txt with gen_requirements_app.py

* Pylint fix: No space allowed around keyword argument assignment

* PR review changes

* Moved auto setup from platforms to ihc component

* Do no auto setup if there are no IHC products found

* Changes from PR review
2018-01-20 16:29:50 +01:00

98 lines
3.3 KiB
YAML

# IHC auto setup configuration.
# To customize this, copy this file to the home assistant configuration
# folder and make your changes.
binary_sensor:
# Magnet contact
- xpath: './/product_dataline[@product_identifier="_0x2109"]'
node: 'dataline_input'
type: 'opening'
inverting: True
# Pir sensors
- xpath: './/product_dataline[@product_identifier="_0x210e"]'
node: 'dataline_input[1]'
type: 'motion'
# Pir sensors twilight sensor
- xpath: './/product_dataline[@product_identifier="_0x0"]'
node: 'dataline_input[1]'
type: 'motion'
# Pir sensors alarm
- xpath: './/product_dataline[@product_identifier="_0x210f"]'
node: 'dataline_input'
type: 'motion'
# Smoke detector
- xpath: './/product_dataline[@product_identifier="_0x210a"]'
node: 'dataline_input'
type: 'smoke'
# leak detector
- xpath: './/product_dataline[@product_identifier="_0x210c"]'
node: 'dataline_input'
type: 'moisture'
# light detector
- xpath: './/product_dataline[@product_identifier="_0x2110"]'
node: 'dataline_input'
type: 'light'
light:
# Wireless Combi dimmer 4 buttons
- xpath: './/product_airlink[@product_identifier="_0x4406"]'
node: 'airlink_dimming'
dimmable: True
# Wireless Lamp outlet dimmer
- xpath: './/product_airlink[@product_identifier="_0x4304"]'
node: 'airlink_dimming'
dimmable: True
# Wireless universal dimmer
- xpath: './/product_airlink[@product_identifier="_0x4306"]'
node: 'airlink_dimming'
dimmable: True
# Wireless Lamp outlet relay
- xpath: './/product_airlink[@product_identifier="_0x4202"]'
node: 'airlink_relay'
# Wireless Combi relay 4 buttons
- xpath: './/product_airlink[@product_identifier="_0x4404"]'
node: 'airlink_relay'
# Dataline Lamp outlet
- xpath: './/product_dataline[@product_identifier="_0x2202"]'
node: 'dataline_output'
# Mobile Wireless dimmer
- xpath: './/product_airlink[@product_identifier="_0x4303"]'
node: 'airlink_dimming'
dimmable: True
sensor:
# Temperature sensor
- xpath: './/product_dataline[@product_identifier="_0x2124"]'
node: 'resource_temperature'
unit_of_measurement: '°C'
# Humidity/temperature
- xpath: './/product_dataline[@product_identifier="_0x2135"]'
node: 'resource_humidity_level'
unit_of_measurement: '%'
# Humidity/temperature
- xpath: './/product_dataline[@product_identifier="_0x2135"]'
node: 'resource_temperature'
unit_of_measurement: '°C'
# Lux/temperature
- xpath: './/product_dataline[@product_identifier="_0x2136"]'
node: 'resource_light'
unit_of_measurement: 'Lux'
# Lux/temperature
- xpath: './/product_dataline[@product_identifier="_0x2136"]'
node: 'resource_temperature'
unit_of_measurement: '°C'
switch:
# Wireless Plug outlet
- xpath: './/product_airlink[@product_identifier="_0x4201"]'
node: 'airlink_relay'
# Dataline universal relay
- xpath: './/product_airlink[@product_identifier="_0x4203"]'
node: 'airlink_relay'
# Dataline plug outlet
- xpath: './/product_dataline[@product_identifier="_0x2201"]'
node: 'dataline_output'
# Wireless mobile relay
- xpath: './/product_airlink[@product_identifier="_0x4204"]'
node: 'airlink_relay'