ADS Switch


The ads switch platform accesses a boolean variable on the connected ADS device. The variable is identified by its name.

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
switch:
  - platform: ads
    adsvar: .global_bool

Configuration Variables

adsvar

(string)(Required)The name of the variable which you want to access on the ADS device.

name

(string)(Optional)An identifier for the switch in the frontend.