def __init__(self, hass, config):
     """Initialize a Reolink camera."""
     ReolinkEntity.__init__(self, hass, config)
     ToggleEntity.__init__(self)
示例#2
0
 def __init__(self, hass, config):
     """Initialize a Reolink camera."""
     ReolinkEntity.__init__(self, hass, config)
     ToggleEntity.__init__(self)
     self._attr_entity_category = EntityCategory.CONFIG