

def __init__(self, logger, domain, hass, scan_interval=DEFAULT_SCAN_INTERVAL, discovery_platforms=None, group_name=None):
    'Initialize an entity component.'
    self.logger = logger
    self.hass = hass
    self.domain = domain
    self.entity_id_format = (domain + '.{}')
    self.scan_interval = scan_interval
    self.discovery_platforms = discovery_platforms
    self.group_name = group_name
    self.entities = {
        
    }
    scan_interval.group = None
    self.is_polling = False
    self.config = None
    self.lock = Lock()
    self.add_entities = EntityPlatform(self, self.scan_interval, None).add_entities

dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/helpers/entity_component.py EntityComponent.__init__/VarMisuse@85/119 `self`->`scan_interval`