From 02dfb695488c05a3a901204ac9ce0de63cf589b8 Mon Sep 17 00:00:00 2001 From: Andrew Cockburn Date: Thu, 17 Oct 2024 15:10:55 +0000 Subject: [PATCH] Doc fix --- docs/APPGUIDE.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/APPGUIDE.rst b/docs/APPGUIDE.rst index 4a55bc37d..2750cad0d 100644 --- a/docs/APPGUIDE.rst +++ b/docs/APPGUIDE.rst @@ -2188,7 +2188,7 @@ Here is an example of an App using the API: class API(hass.Hass): def initialize(self): - self.register_endpoint(my_callback, "test_endpoint") + self.register_endpoint(self.my_callback, "test_endpoint") def my_callback(self, json_obj, cb_args):