[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
parent
92a0be79d6
commit
79c480c49f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue