@property
def icon(self):
    'Return the icon to use in the frontend, if any.'
    if self.is_on:
        return 'mdi:camcorder'
    return 'mdi:camcorder-off'
Return the icon to use in the frontend, if any.
@property
def icon(self):
    
    if self.is_on:
        return 'mdi:camcorder'
    return 'mdi:camcorder-off'