'Return the icon of the sensor.'

@property
def icon(self):

    icon = None
    if (self.type == 'status'):
        status = self.device.getStatus()
        if (status == 'standby'):
            icon = 'mdi:power-plug-off'
        elif (status == 'plugged'):
            icon = 'mdi:power-plug'
        elif (status == 'charging'):
            icon = 'mdi:battery-positive'
    elif (self.type == 'temperature'):
        icon = 'mdi:thermometer'
    elif (self.type == 'voltage'):
        icon = 'mdi:flash'
    elif (self.type == 'amps'):
        icon = 'mdi:flash'
    elif (self.type == 'watts'):
        icon = 'mdi:flash'
    elif (self.type == 'charge_time'):
        icon = 'mdi:timer'
    elif (self.type == 'energy_added'):
        icon = 'mdi:flash'
    return icon
