'Icon for device by its type.'

@property
def icon(self):

    if ('window' in self._name.lower()):
        return ('mdi:window-open' if self.is_on else 'mdi:window-closed')
    if (self._type == 'smoke'):
        return 'mdi:fire'
    return None
