def number_to_entity_id(self, number):
    'Convert unique number to entity id.'
    if (self.type == TYPE_ALEXA):
        return number
    if (self.numbers is None):
        self.numbers = _load_json(self.hass.config.path(NUMBERS_FILE))
    assert isinstance(number, str)
    return self.numbers.get(number)
Convert unique number to entity id.
def number_to_entity_id(self, number):
    
    if (self.type == TYPE_ALEXA):
        return number
    if (self.numbers is None):
        self.numbers = _load_json(self.hass.config.path(NUMBERS_FILE))
    assert isinstance(number, str)
    return self.numbers.get(number)