Home Assistant Unofficial Reference 2024.12.1
entity.py
Go to the documentation of this file.
1 """Support for Envisalink devices."""
2 
3 from homeassistant.helpers.entity import Entity
4 
5 
7  """Representation of an Envisalink device."""
8 
9  _attr_should_poll = False
10 
11  def __init__(self, name, info, controller):
12  """Initialize the device."""
13  self._controller_controller = controller
14  self._info_info = info
15  self._name_name = name
16 
17  @property
18  def name(self):
19  """Return the name of the device."""
20  return self._name_name