Skip to content

Commit

Permalink
update mysensors service names in docs to reflect PR (home-assistant#…
Browse files Browse the repository at this point in the history
  • Loading branch information
raman325 authored and frenck committed Nov 28, 2019
1 parent eaefcbc commit f9dd675
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/_integrations/switch.mysensors.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f9dd675

Please sign in to comment.