Skip to content

Commit

Permalink
Merge pull request #392 from andig/heat
Browse files Browse the repository at this point in the history
Added heatsensor and improved order of definitions
  • Loading branch information
andig committed Feb 13, 2016
2 parents 38c648d + e002d16 commit b36542b
Showing 1 changed file with 35 additions and 20 deletions.
55 changes: 35 additions & 20 deletions lib/Definition/EntityDefinition.json
Expand Up @@ -98,29 +98,18 @@
}
},
{
"name" : "voltage",
"optional" : ["resolution", "tolerance", "local", "gap"],
"icon" : "bolt.png",
"unit" : "V",
"interpreter" : "Volkszaehler\\Interpreter\\SensorInterpreter",
"model" : "Volkszaehler\\Model\\Channel",
"translation" : {
"de" : "Spannungssensor",
"en" : "Voltage Meter",
"fr" : "Voltmètre"
}
},
{
"name" : "current",
"optional" : ["resolution", "tolerance", "local", "gap"],
"icon" : "bolt.png",
"unit" : "A",
"name" : "heatsensor",
"required" : ["resolution"],
"optional" : ["tolerance", "cost", "local"],
"icon" : "flame.png",
"unit" : "W",
"scale" : 1000,
"interpreter" : "Volkszaehler\\Interpreter\\SensorInterpreter",
"model" : "Volkszaehler\\Model\\Channel",
"hasConsumption" : true,
"translation" : {
"de" : "Stromsensor",
"en" : "Current Meter",
"fr" : "Courantmètre"
"de" : "Wärmemengensensor",
"en" : "Heat Sensor"
}
},
{
Expand Down Expand Up @@ -213,6 +202,32 @@
"fr" : "Eau"
}
},
{
"name" : "voltage",
"optional" : ["resolution", "tolerance", "local", "gap"],
"icon" : "bolt.png",
"unit" : "V",
"interpreter" : "Volkszaehler\\Interpreter\\SensorInterpreter",
"model" : "Volkszaehler\\Model\\Channel",
"translation" : {
"de" : "Spannungssensor",
"en" : "Voltage Meter",
"fr" : "Voltmètre"
}
},
{
"name" : "current",
"optional" : ["resolution", "tolerance", "local", "gap"],
"icon" : "bolt.png",
"unit" : "A",
"interpreter" : "Volkszaehler\\Interpreter\\SensorInterpreter",
"model" : "Volkszaehler\\Model\\Channel",
"translation" : {
"de" : "Stromsensor",
"en" : "Current Meter",
"fr" : "Courantmètre"
}
},
{
"name" : "temperature",
"optional" : ["resolution", "tolerance", "local", "gap"],
Expand Down

0 comments on commit b36542b

Please sign in to comment.