'Initialize the sensor.'

def __init__(self, gateway, name, mtu, unit):

    units = {'W': 'power', 'V': 'voltage'}
    self._gateway = gateway
    self._name = '{}    mtu{}    {}'.format(name, mtu, units[unit])
    self._mtu = mtu
    self._unit = unit
    self.update()
