Skip to content

Commit

Permalink
added powersensor definition
Browse files Browse the repository at this point in the history
  • Loading branch information
stv0g committed Jan 3, 2011
1 parent ce3611c commit 28d409f
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions lib/Definition/EntityDefinition.json
Expand Up @@ -49,10 +49,20 @@
"required" : ["title", "resolution"],
"optional" : ["description", "details:", "owner:", "address:", "tolerance", "port", "cuuid", "public", "active"],
"icon" : "", // TODO look for an icon
"unit" : "kW/h",
"unit" : "kW",
"interpreter" : "Volkszaehler\\Interpreter\\MeterInterpreter",
"model" : "Volkszaehler\\Model\\Channel",
"translation" : { "de" : "Strom" }
"translation" : { "de" : "Stromzähler" }
},
{
"name" : "powersensor",
"required" : ["title"],
"optional" : ["description", "details:", "owner:", "address:", "tolerance", "port", "cuuid", "public", "active"],
"icon" : "", // TODO look for an icon
"unit" : "kW",
"interpreter" : "Volkszaehler\\Interpreter\\SensorInterpreter",
"model" : "Volkszaehler\\Model\\Channel",
"translation" : { "de" : "Stromsensor" }
},
{
"name" : "gas",
Expand Down

0 comments on commit 28d409f

Please sign in to comment.