From 3917c9cd5684cd6ba356d296f318469df29ddb30 Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Mon, 20 Feb 2023 17:47:39 -0500 Subject: [PATCH] docs: fix minor typos Signed-off-by: Eric Callahan --- docs/configuration.md | 4 ++-- docs/web_api.md | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index 72c815b..cf26a62 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -1160,10 +1160,10 @@ device_id: # An explanation on how you could get the device id, can be found here: # https://developers.meethue.com/develop/get-started-2/#turning-a-light-on-and-off device_type: light -# Set to light to control a single hue light, or group to control a hue light gorup. +# Set to light to control a single hue light, or group to control a hue light group. # If device_type is set to light, the device_id should be the light id, # and if the device_type is group, the device_id should be the group id. -# The default is "light. +# The default is "light". ``` diff --git a/docs/web_api.md b/docs/web_api.md index 8e3a453..16903d0 100644 --- a/docs/web_api.md +++ b/docs/web_api.md @@ -4961,7 +4961,7 @@ JSON-RPC request: ```json { "jsonrpc": "2.0", - "method": "/server/sensors/info?sensor=sensor1", + "method": "server.sensors.info", "params": { "sensor": "sensor1" }, @@ -6455,6 +6455,7 @@ from at least one monitored sensor changes. } } ] +} ``` When a sensor reading changes, all connections will receive a