diff --git a/source/_integrations/switch.mysensors.markdown b/source/_integrations/switch.mysensors.markdown index 03acee61f65..1d35df94d29 100644 --- a/source/_integrations/switch.mysensors.markdown +++ b/source/_integrations/switch.mysensors.markdown @@ -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