Components

SmartMeter

<SmartMeter energyValue powerValue time />

Constructor

# <SmartMeter energyValue powerValue time />

This component is a multiple-property sensor which that can provide the power and energy of any measured device at the same time.

PropTypes:
Name Type Required Description Default
energyValue number Yes The measured energy value Watt-hours.
powerValue number Yes The measured power value in Watts.
time string No The time at which the reading displayed on the meter was taken. It is just provided for aesthetic reasons and not required for the proper functioning of the component.

View Source components/smartmeter/index.jsx, line 17

<SmartMeter />