# Name of the plugin
name=Power Consumption Model
category=Home Automation

# Any string is allowable here.
qualityString=testing
# This is one of the following: productionReady, testTool, extensionNeeded
quality=testTool

description=This plugin implements lightbulb electrical measurement server cluster.

# Source files
sourceFiles=power-consumption-model.c

# Not included by default
includedByDefault=false

# List of callbacks implemented by this plugin
implementedCallbacks=emberAfPluginPowerConsumptionModelInitCallback
events=Read
# Which cluster does this plugin depends on
dependsOnClusterServer=simple metering, level control, on/off

options=defaultPowerRating, PollingTimeIntervalMs, offPowerConsumptionMilliWatt, onPowerConsumption

defaultPowerRating.name=Power Rating for Lightbulb (W)
defaultPowerRating.description=Lightbulb Power Rating
defaultPowerRating.type=NUMBER:1,160
defaultPowerRating.default=10

PollingTimeIntervalMs.name=Polling time (mS)
PollingTimeIntervalMs.description=Time it takes to update attribute
PollingTimeIntervalMs.type=NUMBER:100,10000
PollingTimeIntervalMs.default=1000

offPowerConsumptionMilliWatt.name=Off Power Consumption (mW)
offPowerConsumptionMilliWatt.description=Power consumed by lightbulb when light is off
offPowerConsumptionMilliWatt.type=NUMBER:10,2000
offPowerConsumptionMilliWatt.default=500

onPowerConsumption.name=On Power Consumption (W)
onPowerConsumption.description=Power consumed by lightbulb when light is turned on (5%)
onPowerConsumption.type=NUMBER:1,10
onPowerConsumption.default=1
