mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 01:06:52 +00:00
Correct service names in lcn documentation (#20174)
This commit is contained in:
parent
44cf71d44d
commit
df4ca9f61f
@ -497,7 +497,7 @@ The `lcn` switch platform allows the control of the following [LCN](https://www.
|
|||||||
## Services
|
## Services
|
||||||
|
|
||||||
In order to directly interact with the LCN system, and invoke commands which are not covered by the implemented platforms, the following service calls can be used.
|
In order to directly interact with the LCN system, and invoke commands which are not covered by the implemented platforms, the following service calls can be used.
|
||||||
Refer to the (Services Calls)[/docs/scripts/service-calls] page for examples on how to use them.
|
Refer to the [Services Calls](/docs/scripts/service-calls) page for examples on how to use them.
|
||||||
|
|
||||||
### Service `output_abs`
|
### Service `output_abs`
|
||||||
|
|
||||||
@ -513,7 +513,7 @@ Set absolute brightness of output port in percent.
|
|||||||
Example:
|
Example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
service: output_abs
|
service: lcn.output_abs
|
||||||
data:
|
data:
|
||||||
address: myhome.0.7
|
address: myhome.0.7
|
||||||
output: output1
|
output: output1
|
||||||
@ -535,7 +535,7 @@ Set relative brightness of output port in percent.
|
|||||||
Example:
|
Example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
service: output_rel
|
service: lcn.output_rel
|
||||||
data:
|
data:
|
||||||
address: myhome.0.7
|
address: myhome.0.7
|
||||||
output: output1
|
output: output1
|
||||||
@ -555,7 +555,7 @@ Toggle output port.
|
|||||||
Example:
|
Example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
service: output_toggle
|
service: lcn.output_toggle
|
||||||
data:
|
data:
|
||||||
address: myhome.0.7
|
address: myhome.0.7
|
||||||
output: output1
|
output: output1
|
||||||
@ -577,7 +577,7 @@ Example states: `t---001-`
|
|||||||
Example:
|
Example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
service: relays
|
service: lcn.relays
|
||||||
data:
|
data:
|
||||||
address: myhome.0.7
|
address: myhome.0.7
|
||||||
state: t---001-
|
state: t---001-
|
||||||
@ -595,7 +595,7 @@ Set the LED status.
|
|||||||
Example:
|
Example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
service: led
|
service: lcn.led
|
||||||
data:
|
data:
|
||||||
address: myhome.0.7
|
address: myhome.0.7
|
||||||
led: led6
|
led: led6
|
||||||
@ -618,7 +618,7 @@ If `unit_of_measurement` is not defined, it is assumed to be `native`.
|
|||||||
Example:
|
Example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
service: var_abs
|
service: lcn.var_abs
|
||||||
data:
|
data:
|
||||||
address: myhome.0.7
|
address: myhome.0.7
|
||||||
variable: var1
|
variable: var1
|
||||||
@ -647,7 +647,7 @@ If `unit_of_measurement` is not defined, it is assumed to be `native`.
|
|||||||
Example:
|
Example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
service: var_rel
|
service: lcn.var_rel
|
||||||
data:
|
data:
|
||||||
address: myhome.0.7
|
address: myhome.0.7
|
||||||
variable: var1
|
variable: var1
|
||||||
@ -672,7 +672,7 @@ Reset value of variable or setpoint.
|
|||||||
Example:
|
Example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
service: var_reset:
|
service: lcn.var_reset
|
||||||
data:
|
data:
|
||||||
address: myhome.0.7
|
address: myhome.0.7
|
||||||
variable: var1
|
variable: var1
|
||||||
@ -697,7 +697,7 @@ If `state` is not defined, it is assumed to be `False`.
|
|||||||
Example:
|
Example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
service: lock_regulator
|
service: lcn.lock_regulator
|
||||||
data:
|
data:
|
||||||
address: myhome.0.7
|
address: myhome.0.7
|
||||||
setpoint: r1varsetpoint
|
setpoint: r1varsetpoint
|
||||||
@ -724,7 +724,7 @@ Examples:
|
|||||||
|
|
||||||
Send keys immediately:
|
Send keys immediately:
|
||||||
```yaml
|
```yaml
|
||||||
service: send_keys
|
service: lcn.send_keys
|
||||||
data:
|
data:
|
||||||
address: myhome.0.7
|
address: myhome.0.7
|
||||||
keys: a1a5d8
|
keys: a1a5d8
|
||||||
@ -733,7 +733,7 @@ data:
|
|||||||
|
|
||||||
Send keys deferred:
|
Send keys deferred:
|
||||||
```yaml
|
```yaml
|
||||||
service: send_keys
|
service: lcn.send_keys
|
||||||
data:
|
data:
|
||||||
address: myhome.0.7
|
address: myhome.0.7
|
||||||
keys: a1a5d8
|
keys: a1a5d8
|
||||||
@ -761,7 +761,7 @@ Examples:
|
|||||||
|
|
||||||
Lock keys forever:
|
Lock keys forever:
|
||||||
```yaml
|
```yaml
|
||||||
service: lock_keys
|
service: lcn.lock_keys
|
||||||
data:
|
data:
|
||||||
address: myhome.0.7
|
address: myhome.0.7
|
||||||
table: a
|
table: a
|
||||||
@ -770,7 +770,7 @@ data:
|
|||||||
|
|
||||||
Lock keys for a specified time period:
|
Lock keys for a specified time period:
|
||||||
```yaml
|
```yaml
|
||||||
service: lock_keys
|
service: lcn.lock_keys
|
||||||
data:
|
data:
|
||||||
address: myhome.0.7
|
address: myhome.0.7
|
||||||
state: 1---t0--
|
state: 1---t0--
|
||||||
@ -794,7 +794,7 @@ Each row can be set independently and can store up to 60 characters (encoded in
|
|||||||
Example:
|
Example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
service: dyn_text
|
service: lcn.dyn_text
|
||||||
data:
|
data:
|
||||||
address: myhome.0.7
|
address: myhome.0.7
|
||||||
row: 1
|
row: 1
|
||||||
@ -813,7 +813,7 @@ Send arbitrary PCK command. Only the command part of the PCK command has to be s
|
|||||||
Example:
|
Example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
service: pck
|
service: lcn.pck
|
||||||
data:
|
data:
|
||||||
address: myhome.0.7
|
address: myhome.0.7
|
||||||
pck: PIN4
|
pck: PIN4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user