]> git.basschouten.com Git - openhab-addons.git/commitdiff
[somfytahoma] fix the smoke sensor documentation (#13919)
authorOndrej Pecta <opecta@gmail.com>
Sun, 11 Dec 2022 22:17:52 +0000 (23:17 +0100)
committerGitHub <noreply@github.com>
Sun, 11 Dec 2022 22:17:52 +0000 (23:17 +0100)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
bundles/org.openhab.binding.somfytahoma/README.md
bundles/org.openhab.binding.somfytahoma/src/main/resources/OH-INF/i18n/somfytahoma.properties
bundles/org.openhab.binding.somfytahoma/src/main/resources/OH-INF/thing/channels.xml

index 8dd228bc9f550769645e3dfad2fc52e0ad0dbfea..0eee7667a287a4e17cb221e2861a9937c8c70f0e 100644 (file)
@@ -122,8 +122,7 @@ Please see the example below.
 | smoke sensor, occupancy sensor, contact sensor & water sensor                      | sensor_defect                   | indicates the health of the sensor (dead, lowBatter, maintenanceRequired, noDefect)                                                                                                                                               |
 | smoke sensor                                                                       | radio_battery                   | maintenance radio part battery state (low, normal)                                                                                                                                                                                |
 | smoke sensor                                                                       | sensor_battery                  | maintenance sensor part battery state (absence, low, normal)                                                                                                                                                                      |
-| smoke sensor                                                                       | short_check                     | triggering the smoke sensor's short check                                                                                                                                                                                         |
-| smoke sensor                                                                       | long_check                      | triggering the smoke sensor's long check                                                                                                                                                                                          |
+| smoke sensor                                                                       | alarm_check                     | triggers the smoke sensor's beep check (short, long)                                                                                                                                                                              |
 | light sensor                                                                       | luminance                       | light luminance value in luxes                                                                                                                                                                                                    |
 | electricity sensor                                                                 | energy_consumption              | energy consumption value in watts                                                                                                                                                                                                 |
 | humidity sensor                                                                    | humidity                        | current relative humidity                                                                                                                                                                                                         |
index d3a8e8739aab4317cb533669126cde0c0e305312..3647f8dbc68f71fa543cfb2a6e876d694c9963d7 100644 (file)
@@ -98,9 +98,9 @@ thing-type.config.somfytahoma.gateway.id.description = The identifier of this So
 channel-type.somfytahoma.active_zones_state.label = Active Zones State
 channel-type.somfytahoma.active_zones_state.description = Active Zones State
 channel-type.somfytahoma.alarm_check.label = Alarm Check Trigger
-channel-type.somfytahoma.alarm_check.description = A channel for triggering the smoke sensor's check
-channel-type.somfytahoma.alarm_check.command.option.SHORT = Short check
-channel-type.somfytahoma.alarm_check.command.option.LONG = Long check
+channel-type.somfytahoma.alarm_check.description = A channel for triggering the smoke sensor's beep check
+channel-type.somfytahoma.alarm_check.command.option.short = Short check
+channel-type.somfytahoma.alarm_check.command.option.long = Long check
 channel-type.somfytahoma.alarm_command.label = Command
 channel-type.somfytahoma.alarm_command.description = A channel used for sending commands to Somfy Alarm device
 channel-type.somfytahoma.alarm_command.state.option.on = ARM
index d3dca6bedc5673b1f86eb1bd80ff9ca5852544b4..60e3b2c0a8542eac1ce20d11068c1318fae01c3b 100644 (file)
        <channel-type id="alarm_check">
                <item-type>String</item-type>
                <label>Alarm Check Trigger</label>
-               <description>A channel for triggering the smoke sensor's check</description>
+               <description>A channel for triggering the smoke sensor's beep check</description>
                <command>
                        <options>
-                               <option value="SHORT">Short check</option>
-                               <option value="LONG">Long check</option>
+                               <option value="short">Short check</option>
+                               <option value="long">Long check</option>
                        </options>
                </command>
        </channel-type>