From 712262fb1e1f84aff3e3fbe75cd6b2d958bc7906 Mon Sep 17 00:00:00 2001 From: Ondrej Pecta Date: Sun, 11 Dec 2022 23:17:52 +0100 Subject: [PATCH] [somfytahoma] fix the smoke sensor documentation (#13919) Signed-off-by: Ondrej Pecta --- bundles/org.openhab.binding.somfytahoma/README.md | 3 +-- .../src/main/resources/OH-INF/i18n/somfytahoma.properties | 6 +++--- .../src/main/resources/OH-INF/thing/channels.xml | 6 +++--- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/bundles/org.openhab.binding.somfytahoma/README.md b/bundles/org.openhab.binding.somfytahoma/README.md index 8dd228bc9f550..0eee7667a287a 100644 --- a/bundles/org.openhab.binding.somfytahoma/README.md +++ b/bundles/org.openhab.binding.somfytahoma/README.md @@ -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 | diff --git a/bundles/org.openhab.binding.somfytahoma/src/main/resources/OH-INF/i18n/somfytahoma.properties b/bundles/org.openhab.binding.somfytahoma/src/main/resources/OH-INF/i18n/somfytahoma.properties index d3a8e8739aab4..3647f8dbc68f7 100644 --- a/bundles/org.openhab.binding.somfytahoma/src/main/resources/OH-INF/i18n/somfytahoma.properties +++ b/bundles/org.openhab.binding.somfytahoma/src/main/resources/OH-INF/i18n/somfytahoma.properties @@ -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 diff --git a/bundles/org.openhab.binding.somfytahoma/src/main/resources/OH-INF/thing/channels.xml b/bundles/org.openhab.binding.somfytahoma/src/main/resources/OH-INF/thing/channels.xml index d3dca6bedc567..60e3b2c0a8542 100644 --- a/bundles/org.openhab.binding.somfytahoma/src/main/resources/OH-INF/thing/channels.xml +++ b/bundles/org.openhab.binding.somfytahoma/src/main/resources/OH-INF/thing/channels.xml @@ -279,11 +279,11 @@ String - A channel for triggering the smoke sensor's check + A channel for triggering the smoke sensor's beep check - - + +