mirror of
https://github.com/home-assistant/core
synced 2024-08-02 23:40:32 +02:00
028a07d86f
Co-authored-by: Franck Nijhof <git@frenck.dev>
35 lines
809 B
YAML
35 lines
809 B
YAML
# Describes the format for available ADS services
|
|
|
|
write_data_by_name:
|
|
name: Write data by name
|
|
description: Write a value to the connected ADS device.
|
|
fields:
|
|
adsvar:
|
|
name: ADS variable
|
|
description: The name of the variable to write to.
|
|
required: true
|
|
example: ".global_var"
|
|
selector:
|
|
text:
|
|
adstype:
|
|
name: ADS type
|
|
description: The data type of the variable to write to.
|
|
required: true
|
|
selector:
|
|
select:
|
|
options:
|
|
- 'bool'
|
|
- 'byte'
|
|
- 'dint'
|
|
- 'int'
|
|
- 'udint'
|
|
- 'uint'
|
|
value:
|
|
name: Value
|
|
description: The value to write to the variable.
|
|
required: true
|
|
selector:
|
|
number:
|
|
min: 0
|
|
max: 10000
|