Skip to content

Commit

Permalink
webthing: Use lowercase endpoints
Browse files Browse the repository at this point in the history
Change-Id: Ie313be989a7229315f544b46c44e1bef2f188e95
Signed-off-by: Philippe Coval <[email protected]>
  • Loading branch information
rzr committed Jul 16, 2019
1 parent 14ca863 commit 4f451f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example/webthing/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var verbose = !console.log || function() {};

function AmbientLightProperty(thing, name, value, metadata, config) {
var self = this;
name = name || 'AmbientLight';
name = name || 'ambientLight';
value = value || 0;
metadata = metadata || {};
metadata.description = metadata.description || 'AmbientLight Sensor';
Expand Down Expand Up @@ -93,7 +93,7 @@ function AmbientLightProperty(thing, name, value, metadata, config) {

function ColorProperty(thing, name, value, metadata, config) {
var self = this;
name = name || 'Color';
name = name || 'color';
value = value || 0;
metadata = metadata || {};
metadata.description = metadata.description || 'Color Sensor';
Expand Down Expand Up @@ -150,7 +150,7 @@ function ColorProperty(thing, name, value, metadata, config) {

function TemperatureProperty(thing, name, value, metadata, config) {
var self = this;
name = name || 'Temperature';
name = name || 'temperature';
value = value || 0;
metadata = metadata || {};
metadata.description = metadata.description || 'Temperature Sensor';
Expand Down

0 comments on commit 4f451f0

Please sign in to comment.