mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-20 07:46:52 +00:00
Add ADS Valve documentation (#34666)
* Add ADS Valve documentation * fix: remove not necessary TOC contents * tweak --------- Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
parent
2ec23ed10b
commit
f5c293f30d
@ -8,6 +8,7 @@ ha_category:
|
|||||||
- Light
|
- Light
|
||||||
- Sensor
|
- Sensor
|
||||||
- Switch
|
- Switch
|
||||||
|
- Valve
|
||||||
ha_release: '0.60'
|
ha_release: '0.60'
|
||||||
ha_iot_class: Local Push
|
ha_iot_class: Local Push
|
||||||
ha_domain: ads
|
ha_domain: ads
|
||||||
@ -17,6 +18,7 @@ ha_platforms:
|
|||||||
- light
|
- light
|
||||||
- sensor
|
- sensor
|
||||||
- switch
|
- switch
|
||||||
|
- valve
|
||||||
ha_integration_type: integration
|
ha_integration_type: integration
|
||||||
related:
|
related:
|
||||||
- docs: /docs/configuration/
|
- docs: /docs/configuration/
|
||||||
@ -32,6 +34,7 @@ There is currently support for the following device types within Home Assistant:
|
|||||||
- [Sensor](#sensor)
|
- [Sensor](#sensor)
|
||||||
- [Switch](#switch)
|
- [Switch](#switch)
|
||||||
- [Cover](#cover)
|
- [Cover](#cover)
|
||||||
|
- [Valve](#valve)
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
@ -253,3 +256,28 @@ device_class:
|
|||||||
description: Sets the [class of the device](/integrations/cover/), changing the device state and icon that is displayed on the frontend.
|
description: Sets the [class of the device](/integrations/cover/), changing the device state and icon that is displayed on the frontend.
|
||||||
type: device_class
|
type: device_class
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
|
## Valve
|
||||||
|
|
||||||
|
The `ads` valve entity 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](#configuration) and then add the following to your {% term "`configuration.yaml`" %}
|
||||||
|
file:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# Example configuration.yaml entry
|
||||||
|
valve:
|
||||||
|
- platform: ads
|
||||||
|
adsvar: MAIN.bValveControl
|
||||||
|
```
|
||||||
|
|
||||||
|
{% 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 valve in the frontend.
|
||||||
|
type: string
|
||||||
|
{% endconfiguration %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user