Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Commit

Permalink
Fix link to QuantityType in UoM blog post (#5222)
Browse files Browse the repository at this point in the history
* Fix link to QuantityType in UoM blog post

fixes #5221
Signed-off-by: Simon Kaufmann <simon.kfm@googlemail.com>

* cleanup jekyll configuration

Signed-off-by: Simon Kaufmann <simon.kfm@googlemail.com>
  • Loading branch information
Simon Kaufmann authored and kaikreuzer committed Mar 12, 2018
1 parent c20c9a1 commit 596e90a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
11 changes: 2 additions & 9 deletions docs/_config.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
# Site settings
title: Eclipse SmartHome - A flexible Framework for the Smart Home
email: your-email@domain.com
description: > # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
baseurl: "/smarthome/" # the subpath of your site, e.g. /blog/
url: "https://www.eclipse.org/smarthome" # the base hostname & protocol for your site
twitter_username: jekyllrb
github_username: jekyll
baseurl: "/smarthome"
url: "https://www.eclipse.org/smarthome"

# Build settings
markdown: kramdown
Expand Down
2 changes: 1 addition & 1 deletion docs/_posts/2018-02-22-units-of-measurement.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Apart from SI there are other systems in use like the imperial unit system. The
Depending on the users locale or cultural preference a specific unit might fit the users needs. For temperature it is common to use degree Celsius (°C) in most places around the globe but degree Fahrenheit (°F) is used in the United States of America.

##### UoM data with QuantityType
Sensor devices and internet services connected to Eclipse SmartHome as Things provide their scalar values in an implicit unit of measurement. The binding developer knows what exact unit the sensor or service data uses and can pass those values to the framework using the new [`QuantityType`](../documentation/concepts/units-of-measurement.html). QuantityType represents the scalar value with the corresponding unit. It also serves as the main API to convert between different units.
Sensor devices and internet services connected to Eclipse SmartHome as Things provide their scalar values in an implicit unit of measurement. The binding developer knows what exact unit the sensor or service data uses and can pass those values to the framework using the new [`QuantityType`]({{ site.baseurl }}{% link documentation/concepts/units-of-measurement.md %}). QuantityType represents the scalar value with the corresponding unit. It also serves as the main API to convert between different units.
The Yahoo Weather binding makes use of `QuantityType` and publishes state updates in the following form:

```(java)
Expand Down

0 comments on commit 596e90a

Please sign in to comment.