tronghuyict56 / openhab

Automatically exported from code.google.com/p/openhab
0 stars 0 forks source link

Novelanheatpump item "state" shows NLS error message #346

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Install novelanheatpump 1.2.0 addon in openhab/addons
2.put ip address in configuration file, item novelanheatpump:ip=
3.use novelanheatpump="state" item in your items file

What is the expected output? What do you see instead?
Expected output is state "Betriebsart" of Heatpump
Observed output is message "HeatPump_State state updated to NLS missing 
message: HeatPumpBinding_APPEAR in: 
org.openhab.binding.novelanheatpump.internal.messages: 00:00:19"

What version of the product are you using? On what operating system?
addon
novelanheatpump addon Version 1.2.0
openhab 1.2.0

Please provide any additional information below.
Message shows in log file as well as on web page as well as on HABDroid

Original issue reported on code.google.com by Stefan.H...@googlemail.com on 19 Jun 2013 at 3:37

GoogleCodeExporter commented 8 years ago

Original comment by kai.openhab on 19 Jun 2013 at 5:02

GoogleCodeExporter commented 8 years ago
Issue 378 has been merged into this issue.

Original comment by teichsta on 12 Jul 2013 at 2:19

GoogleCodeExporter commented 8 years ago
The problem is the constant BUNDLE_NAME in 
/org.openhab.binding.novelanheatpump/src/main/java/org/openhab/binding/novelanhe
atpump/i18n/Messages.java
it must changed to 
BUNDLE_NAME = "org.openhab.binding.novelanheatpump.i18n.messages"
in my clone the messages was in an other folder. After the merge the folder was 
renamed but not the constant.

@Kai can you please change the code.

Stefans test with my fixed bundle was successful.

Original comment by PhilippBolle on 21 Jul 2013 at 9:12

GoogleCodeExporter commented 8 years ago
Thanks! Fixed with changeset 
https://code.google.com/p/openhab/source/detail?r=b69f595d8c3fa3d7b878500497f1b0
a344d29c7c

Original comment by kai.openhab on 21 Jul 2013 at 6:17