def location_name(self):
        """Return a location name for the current location of the device."""
        if self._disable_location_name:
            return None
        return self._attr_location_name
Return a location name for the current location of the device.
custom_components/xiaomi_miot/device_tracker.py