added powersensor definition

This commit is contained in:
Steffen Vogel 2011-01-03 20:02:46 +01:00
parent ce3611c46f
commit 28d409f145

View file

@ -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",