@property
    def name(self):
        location = self.device.where
        name = self.device.name
        if location is None:
            return name
        else:
            if name == '':
                return location.capitalize()
            else:
                return location.capitalize() + '(' + name + ')'
Return the name of the nest, if any.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/thermostat/nest.py/NestThermostat.name