update mysensors service names in docs to reflect PR (#11331)

This commit is contained in:
Raman Gupta 2019-11-28 04:56:45 -05:00 committed by Franck Nijhof
parent eaefcbc080
commit f9dd6750e2

View File

@ -54,7 +54,7 @@ The MySensors switch platform exposes a service to change an IR code attribute f
| Service | Description | | 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: The service can be used as part of an automation script. For example:
@ -66,7 +66,7 @@ automation:
platform: time platform: time
at: '5:30:00' at: '5:30:00'
action: action:
service: switch.mysensors_send_ir_code service: mysensors.send_ir_code
entity_id: switch.hvac_1_1 entity_id: switch.hvac_1_1
data: data:
V_IR_SEND: '0xC284' # the IR code to send V_IR_SEND: '0xC284' # the IR code to send
@ -76,7 +76,7 @@ automation:
platform: time platform: time
at: '0:30:00' at: '0:30:00'
action: action:
service: switch.mysensors_send_ir_code service: mysensors.send_ir_code
entity_id: switch.hvac_1_1 entity_id: switch.hvac_1_1
data: data:
V_IR_SEND: '0xC288' # the IR code to send V_IR_SEND: '0xC288' # the IR code to send