home-assistant.github.io/source/_components/binary_sensor.ads.markdown
Stefan Lehmann 2eaaff4ebe Ads (#4115)
* add ads hub and switch

* add ads binary sensor

* add ADS sensor

* fix version numbers

* separate configuration tag

* remove device notification config

* fix configuration schema.

* replace tabs with spaces

* add type key-value-pairs
2017-12-05 19:34:19 +01:00

1.1 KiB

layout title description date sidebar comments sharing footer logo ha_category ha_release ha_iot_class
page ADS Binary Sensor Instructions on how to set up ADS binary sensors within Home Assistant. 2017-10-25 10:00 true false true true home-assistant.png Binary Sensor 0.60 Local Push

The binary sensor can be used to monitor a boolean value on your ADS device.

To use your ADS device, you first have to set up your ADS hub and then add the following to your configuration.yaml file:

# Example configuration.yaml entry
binary_sensor:
  - platform: ads
    adsvar: .boolean1

Configuration variables:

{% configuration %} adsvar: required: true description: The name of the variable which you want to access on the ADS device type: string name: required: false description: An identifier for the light in the frontend type: string device_class: required: false description: The type/class of the sensor to set the icon in the frontend type: string {% endconfiguration %}