[ecowatt] Shorter labels for channel options (#13438)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
parent
8ab5f629c3
commit
5bbd729ba2
|
@ -40,9 +40,9 @@ All channels are read-only.
|
||||||
|
|
||||||
| Channel | Type | Description |
|
| Channel | Type | Description |
|
||||||
|-------------------|--------|------------------------------------------------------------------|
|
|-------------------|--------|------------------------------------------------------------------|
|
||||||
| todaySignal | Number | The signal relating to the forecast consumption level for today. Values are 1 for normal consumption, 2 for strained electrical system and 3 for very strained electrical system. |
|
| todaySignal | Number | The signal relating to the forecast consumption level for today. Values are 1 for normal consumption (green), 2 for strained electrical system (orange) and 3 for very strained electrical system (red). |
|
||||||
| tomorrowSignal | Number | The signal relating to the forecast consumption level for tomorrow. Values are 1 for normal consumption, 2 for strained electrical system and 3 for very strained electrical system. |
|
| tomorrowSignal | Number | The signal relating to the forecast consumption level for tomorrow. Values are 1 for normal consumption (green), 2 for strained electrical system (orange) and 3 for very strained electrical system (red). |
|
||||||
| currentHourSignal | Number | The signal relating to the forecast consumption level for the current hour. Values are 1 for normal consumption, 2 for strained electrical system and 3 for very strained electrical system. |
|
| currentHourSignal | Number | The signal relating to the forecast consumption level for the current hour. Values are 1 for normal consumption (green), 2 for strained electrical system (orange) and 3 for very strained electrical system (red). |
|
||||||
|
|
||||||
## Full Example
|
## Full Example
|
||||||
|
|
||||||
|
|
|
@ -8,11 +8,11 @@ binding.ecowatt.description = This binding uses the Ecowatt API to expose clear
|
||||||
thing-type.ecowatt.signals.label = Electricity Forecast
|
thing-type.ecowatt.signals.label = Electricity Forecast
|
||||||
thing-type.ecowatt.signals.description = The French electricity consumption forecasts
|
thing-type.ecowatt.signals.description = The French electricity consumption forecasts
|
||||||
thing-type.ecowatt.signals.channel.currentHourSignal.label = Current Hour Signal
|
thing-type.ecowatt.signals.channel.currentHourSignal.label = Current Hour Signal
|
||||||
thing-type.ecowatt.signals.channel.currentHourSignal.description = The signal relating to the forecast consumption level for the current hour. Values are 1 for normal consumption, 2 for strained electrical system and 3 for very strained electrical system.
|
thing-type.ecowatt.signals.channel.currentHourSignal.description = The signal relating to the forecast consumption level for the current hour. Values are 1 for normal consumption (green), 2 for strained electrical system (orange) and 3 for very strained electrical system (red).
|
||||||
thing-type.ecowatt.signals.channel.todaySignal.label = Today Signal
|
thing-type.ecowatt.signals.channel.todaySignal.label = Today Signal
|
||||||
thing-type.ecowatt.signals.channel.todaySignal.description = The signal relating to the forecast consumption level for today. Values are 1 for normal consumption, 2 for strained electrical system and 3 for very strained electrical system.
|
thing-type.ecowatt.signals.channel.todaySignal.description = The signal relating to the forecast consumption level for today. Values are 1 for normal consumption (green), 2 for strained electrical system (orange) and 3 for very strained electrical system (red)).
|
||||||
thing-type.ecowatt.signals.channel.tomorrowSignal.label = Tomorrow Signal
|
thing-type.ecowatt.signals.channel.tomorrowSignal.label = Tomorrow Signal
|
||||||
thing-type.ecowatt.signals.channel.tomorrowSignal.description = The signal relating to the forecast consumption level for tomorrow. Values are 1 for normal consumption, 2 for strained electrical system and 3 for very strained electrical system.
|
thing-type.ecowatt.signals.channel.tomorrowSignal.description = The signal relating to the forecast consumption level for tomorrow. Values are 1 for normal consumption (green), 2 for strained electrical system (orange) and 3 for very strained electrical system (red).
|
||||||
|
|
||||||
# thing types config
|
# thing types config
|
||||||
|
|
||||||
|
@ -24,10 +24,10 @@ thing-type.config.ecowatt.signals.idSecret.description = ID secret provided with
|
||||||
# channel types
|
# channel types
|
||||||
|
|
||||||
channel-type.ecowatt.signal.label = Consumption Signal
|
channel-type.ecowatt.signal.label = Consumption Signal
|
||||||
channel-type.ecowatt.signal.description = The signal relating to the forecast consumption level. Values are 1 for normal consumption, 2 for strained electrical system and 3 for very strained electrical system.
|
channel-type.ecowatt.signal.description = The signal relating to the forecast consumption level. Values are 1 for normal consumption (green), 2 for strained electrical system (orange) and 3 for very strained electrical system (red).
|
||||||
channel-type.ecowatt.signal.state.option.1 = Green (normal consumption)
|
channel-type.ecowatt.signal.state.option.1 = Green
|
||||||
channel-type.ecowatt.signal.state.option.2 = Orange (strained electrical system)
|
channel-type.ecowatt.signal.state.option.2 = Orange
|
||||||
channel-type.ecowatt.signal.state.option.3 = Red (very strained electrical system)
|
channel-type.ecowatt.signal.state.option.3 = Red
|
||||||
|
|
||||||
# thing status descriptions
|
# thing status descriptions
|
||||||
|
|
||||||
|
|
|
@ -11,18 +11,19 @@
|
||||||
<channels>
|
<channels>
|
||||||
<channel id="todaySignal" typeId="signal">
|
<channel id="todaySignal" typeId="signal">
|
||||||
<label>Today Signal</label>
|
<label>Today Signal</label>
|
||||||
<description>The signal relating to the forecast consumption level for today. Values are 1 for normal consumption, 2
|
<description>The signal relating to the forecast consumption level for today. Values are 1 for normal consumption
|
||||||
for strained electrical system and 3 for very strained electrical system.</description>
|
(green), 2 for strained electrical system (orange) and 3 for very strained electrical system (red)).</description>
|
||||||
</channel>
|
</channel>
|
||||||
<channel id="tomorrowSignal" typeId="signal">
|
<channel id="tomorrowSignal" typeId="signal">
|
||||||
<label>Tomorrow Signal</label>
|
<label>Tomorrow Signal</label>
|
||||||
<description>The signal relating to the forecast consumption level for tomorrow. Values are 1 for normal
|
<description>The signal relating to the forecast consumption level for tomorrow. Values are 1 for normal
|
||||||
consumption, 2 for strained electrical system and 3 for very strained electrical system.</description>
|
consumption
|
||||||
|
(green), 2 for strained electrical system (orange) and 3 for very strained electrical system (red).</description>
|
||||||
</channel>
|
</channel>
|
||||||
<channel id="currentHourSignal" typeId="signal">
|
<channel id="currentHourSignal" typeId="signal">
|
||||||
<label>Current Hour Signal</label>
|
<label>Current Hour Signal</label>
|
||||||
<description>The signal relating to the forecast consumption level for the current hour. Values are 1 for normal
|
<description>The signal relating to the forecast consumption level for the current hour. Values are 1 for normal
|
||||||
consumption, 2 for strained electrical system and 3 for very strained electrical system.</description>
|
consumption (green), 2 for strained electrical system (orange) and 3 for very strained electrical system (red).</description>
|
||||||
</channel>
|
</channel>
|
||||||
</channels>
|
</channels>
|
||||||
|
|
||||||
|
@ -42,13 +43,13 @@
|
||||||
<channel-type id="signal">
|
<channel-type id="signal">
|
||||||
<item-type>Number</item-type>
|
<item-type>Number</item-type>
|
||||||
<label>Consumption Signal</label>
|
<label>Consumption Signal</label>
|
||||||
<description>The signal relating to the forecast consumption level. Values are 1 for normal consumption, 2 for
|
<description>The signal relating to the forecast consumption level. Values are 1 for normal consumption (green), 2 for
|
||||||
strained electrical system and 3 for very strained electrical system.</description>
|
strained electrical system (orange) and 3 for very strained electrical system (red).</description>
|
||||||
<state readOnly="true">
|
<state readOnly="true">
|
||||||
<options>
|
<options>
|
||||||
<option value="1">Green (normal consumption)</option>
|
<option value="1">Green</option>
|
||||||
<option value="2">Orange (strained electrical system)</option>
|
<option value="2">Orange</option>
|
||||||
<option value="3">Red (very strained electrical system)</option>
|
<option value="3">Red</option>
|
||||||
</options>
|
</options>
|
||||||
</state>
|
</state>
|
||||||
</channel-type>
|
</channel-type>
|
||||||
|
|
Loading…
Reference in New Issue