From 09fded2df89b21c07b9bd32326e771babffc509a Mon Sep 17 00:00:00 2001 From: HepoH3 Date: Sun, 13 Dec 2020 16:03:46 +0300 Subject: [PATCH] Fix one of the commens in code block (#881) The start_washer_cycle service comment seems to be mistaken. Apparantly the mistake came from copy-pasting comment. --- custom/custom_component.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom/custom_component.rst b/custom/custom_component.rst index 340a1142e..3c83c50c0 100644 --- a/custom/custom_component.rst +++ b/custom/custom_component.rst @@ -87,7 +87,7 @@ Home Assistant, as well as starting services in Home Assistant. // - cycle_duration: integer // - silent: boolean // - string_argument: string - // - The function on_hello_world declared below will attached to the service. + // - The function start_washer_cycle declared below will attached to the service. register_service(&MyCustomComponent::on_start_washer_cycle, "start_washer_cycle", {"cycle_duration", "silent", "string_argument"});