mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-02 01:07:36 +00:00
1.1 KiB
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 | beckhoff.png | Binary Sensor | 0.60 | Local Push |
The ads
binary sensor platform 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 %} 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 %}