Skip to content

Commit

Permalink
Extend types of Thing Configuration mappings (openhab#1276)
Browse files Browse the repository at this point in the history
  • Loading branch information
fwolter authored Nov 28, 2020
1 parent a6740ab commit a7c7182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion developers/bindings/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ Moreover the configuration class has a utility method `as(Class<T> configuration

All configuration values will be mapped to properties of the class.
The type of the property must match the type of the configuration.
Only the following types are supported for configuration values: `Boolean`, `String` and `BigDecimal`.
The following types are supported for configuration values: `Boolean`, `boolean`, `String`, `BigDecimal`, `int`, `long`, `float` and `double`.

For example, the Yahoo Weather binding allows configuration of the location and the refresh frequency.

Expand Down

0 comments on commit a7c7182

Please sign in to comment.