@property
    def device_state_attributes(self):
        # Move these to Thermostat Device and make them global
        return {
            "humidity": self.device.humidity,
            "target_humidity": self.device.target_humidity,
            "mode": self.device.mode
        }
A persistent client<--proxy-->backend connection handler.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/thermostat/nest.py/NestThermostat.device_state_attributes--crossover with--dataset/ETHPy150Open dieseldev/diesel/diesel/protocols/mongodb.py/MongoProxy.__call__