From: Marek Hulán Date: Wed, 30 Dec 2020 13:50:34 +0000 (+0100) Subject: [http] fix documentation for channel modes (#9593) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=ee93229d3cfc26a955a8a0503f83afe7e60f5601;p=openhab-addons.git [http] fix documentation for channel modes (#9593) Based on https://github.com/openhab/openhab-addons/blob/8de5652ed19775900ae1ee4c9e59686590112db9/bundles/org.openhab.binding.http/src/main/java/org/openhab/binding/http/internal/config/HttpChannelMode.java#L23 and some experimenting, the correct values are WRITEONLY and READONLY --- diff --git a/bundles/org.openhab.binding.http/README.md b/bundles/org.openhab.binding.http/README.md index 44dce4aad0..a8c540f699 100644 --- a/bundles/org.openhab.binding.http/README.md +++ b/bundles/org.openhab.binding.http/README.md @@ -42,7 +42,7 @@ The `image` channel-type supports `stateExtension` only. | `commandExtension` | yes | - | Appended to the `baseURL` for sending commands. If empty, same as `stateExtension`. | | `stateTransformation ` | yes | - | One or more transformation applied to received values before updating channel. | | `commandTransformation` | yes | - | One or more transformation applied to channel value before sending to a remote. | -| `mode` | no | `READWRITE` | Mode this channel is allowed to operate. `READ` means receive state, `WRITE` means send commands. | +| `mode` | no | `READWRITE` | Mode this channel is allowed to operate. `READONLY` means receive state, `WRITEONLY` means send commands. | Transformations need to be specified in the same format as Some channels have additional parameters. @@ -147,4 +147,4 @@ is transformed to ``` http://www.domain.org/home/lights/23871/?status=OFF&date=2020-07-06 -``` \ No newline at end of file +```