mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-14 04:46:49 +00:00
update mysensors service names in docs to reflect PR (#11331)
This commit is contained in:
parent
eaefcbc080
commit
f9dd6750e2
@ -54,7 +54,7 @@ The MySensors switch platform exposes a service to change an IR code attribute f
|
||||
|
||||
| Service | Description |
|
||||
| ------- | ----------- |
|
||||
| mysensors_send_ir_code | Set an IR code as a state attribute for a MySensors IR device switch and turn the switch on.|
|
||||
| mysensors.send_ir_code | Set an IR code as a state attribute for a MySensors IR device switch and turn the switch on.|
|
||||
|
||||
The service can be used as part of an automation script. For example:
|
||||
|
||||
@ -66,7 +66,7 @@ automation:
|
||||
platform: time
|
||||
at: '5:30:00'
|
||||
action:
|
||||
service: switch.mysensors_send_ir_code
|
||||
service: mysensors.send_ir_code
|
||||
entity_id: switch.hvac_1_1
|
||||
data:
|
||||
V_IR_SEND: '0xC284' # the IR code to send
|
||||
@ -76,7 +76,7 @@ automation:
|
||||
platform: time
|
||||
at: '0:30:00'
|
||||
action:
|
||||
service: switch.mysensors_send_ir_code
|
||||
service: mysensors.send_ir_code
|
||||
entity_id: switch.hvac_1_1
|
||||
data:
|
||||
V_IR_SEND: '0xC288' # the IR code to send
|
||||
|
Loading…
x
Reference in New Issue
Block a user