From 61187f89a067b3957fd33a2d4c250007d2ce26ff Mon Sep 17 00:00:00 2001 From: lolodomo Date: Sat, 8 Oct 2022 12:51:11 +0200 Subject: [PATCH] [netatmo] Fix the description of the new channel request-count (#13512) Signed-off-by: Laurent Garnier Signed-off-by: Laurent Garnier --- bundles/org.openhab.binding.netatmo/README.md | 6 +++--- .../src/main/resources/OH-INF/i18n/netatmo.properties | 8 +++++--- .../src/main/resources/OH-INF/thing/channels.xml | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/bundles/org.openhab.binding.netatmo/README.md b/bundles/org.openhab.binding.netatmo/README.md index adcb2bc59..128246477 100644 --- a/bundles/org.openhab.binding.netatmo/README.md +++ b/bundles/org.openhab.binding.netatmo/README.md @@ -54,9 +54,9 @@ The Account bridge has the following configuration elements: **Supported channels for the Account bridge thing:** -| Channel Group | Channel Id | Item Type | Description | -|---------------|---------------|-----------|-------------------------------------------------------------------| -| monitoring | request-count | Number | Number of request transmitted to Netatmo API during the last hour | +| Channel Group | Channel Id | Item Type | Description | +|---------------|---------------|-----------|--------------------------------------------------------------------| +| monitoring | request-count | Number | Number of requests transmitted to Netatmo API during the last hour | ### Configure the Bridge diff --git a/bundles/org.openhab.binding.netatmo/src/main/resources/OH-INF/i18n/netatmo.properties b/bundles/org.openhab.binding.netatmo/src/main/resources/OH-INF/i18n/netatmo.properties index a716315f3..82cd51dc6 100644 --- a/bundles/org.openhab.binding.netatmo/src/main/resources/OH-INF/i18n/netatmo.properties +++ b/bundles/org.openhab.binding.netatmo/src/main/resources/OH-INF/i18n/netatmo.properties @@ -9,7 +9,7 @@ binding.config.netatmo.readFriends.label = Access Guests binding.config.netatmo.readFriends.description = For Weather Stations: A friend gave you access to their Netatmo Weather Station. # channel group types -channel-group-type.netatmo.monitoring.label = API Monitoring + channel-group-type.netatmo.airquality-extended.label = Air Quality channel-group-type.netatmo.airquality.label = Air Quality channel-group-type.netatmo.battery-extended.label = Battery @@ -54,6 +54,7 @@ channel-group-type.netatmo.live.channel.vpn-picture-url.description = URL of the channel-group-type.netatmo.live.channel.vpn-stream-url.label = Live Stream VPN URL channel-group-type.netatmo.live.channel.vpn-stream-url.description = URL of the live stream for this camera through Netatmo VPN. channel-group-type.netatmo.location.label = Location +channel-group-type.netatmo.monitoring.label = API Monitoring channel-group-type.netatmo.noise.label = Noise channel-group-type.netatmo.person.label = Person channel-group-type.netatmo.person.channel.last-seen.label = Last Seen @@ -117,8 +118,7 @@ channel-group-type.netatmo.wind.channel.max-strength-date.label = Date Max Wind channel-group-type.netatmo.wind.channel.max-strength-date.description = Moment when max wind strength was recorded. # channel types -channel-type.netatmo.request-count.label = Request Count -channel-type.netatmo.request-count.description = Number of request transmitted to Netatmo API during the last hour. + channel-type.netatmo.absolute-pressure.label = Absolute Pressure channel-type.netatmo.absolute-pressure.description = Pressure measured relative to a full vacuum. channel-type.netatmo.alim-status.label = Alim State @@ -276,6 +276,8 @@ channel-type.netatmo.rain-intensity.label = Rain Intensity channel-type.netatmo.rain-intensity.description = Current precipitation intensity. channel-type.netatmo.rain-quantity.label = Rain Quantity channel-type.netatmo.rain-quantity.description = Quantity of water over the period. +channel-type.netatmo.request-count.label = Request Count +channel-type.netatmo.request-count.description = Number of requests transmitted to Netatmo API during the last hour. channel-type.netatmo.room-heating-percent.label = Heating Power channel-type.netatmo.room-heating-percent.description = Percentage of heating power. channel-type.netatmo.rssi.label = Signal diff --git a/bundles/org.openhab.binding.netatmo/src/main/resources/OH-INF/thing/channels.xml b/bundles/org.openhab.binding.netatmo/src/main/resources/OH-INF/thing/channels.xml index d91a77d0e..71c77eda4 100644 --- a/bundles/org.openhab.binding.netatmo/src/main/resources/OH-INF/thing/channels.xml +++ b/bundles/org.openhab.binding.netatmo/src/main/resources/OH-INF/thing/channels.xml @@ -88,7 +88,7 @@ Number - Number of request transmitted to Netatmo API during the last hour. + Number of requests transmitted to Netatmo API during the last hour.