[Migration] Change Yahoo binding example (#236)

Resolves #233

Updated the Yahoo Weather Binding example to match the one in the README. In particular removing the reference to "unit" (is that supported any longer?), removing the quotes around the woeid in the thing config, and replacing the "#" with ":" in the Item definition.

Signed-off-by: Richard Koshak <rlkoshak@gmail.com> (github: rkoshak)
pull/246/head
Richard Koshak 2017-01-21 15:59:31 -07:00 committed by Thomas Dietrich
parent 92a0be79d6
commit 79c480c49f
1 changed files with 3 additions and 3 deletions

View File

@ -575,7 +575,7 @@ a .things file (located in conf/things) with the line:
```java
Thing yahooweather:weather:berlin [ location="638242", unit="c" ]
Thing yahooweather:weather:berlin [ location=638242 ]
```
As described in the Binding's readme, three Channels are supported: temperature,
@ -592,8 +592,8 @@ the Channels.
```java
// openHAB 2 Syntax
Number Temperature { channel="yahooweather:weather:berlin#temperature" }
Number Humidity { channel="yahooweather:weather:berlin#humidity" }
Number Temperature { channel="yahooweather:weather:berlin:temperature" }
Number Humidity { channel="yahooweather:weather:berlin:humidity" }
```
As you can see, the Channel ID consists of the Thing's name, a "#" and the