

def temperatures(self):
    status = self.location.status()
    if self.hotwater:
        (yield {
            'thermostat': 'DOMESTIC_HOT_WATER',
            'id': self.hotwater.dhwId,
            'name': '',
            'temp': self.hotwater.temperatureStatus['temperature'],
            'setpoint': '',
        })
    for zone in self._zones:
        z = {
            'thermostat': 'EMEA_ZONE',
            'id': zone.zoneId,
            'name': zone.name,
            'temp': None,
            'setpoint': zone.heatSetpointStatus['targetTemperature'],
        }
        if zone.temperatureStatus['isAvailable']:
            z['temp'] = zone.temperatureStatus['temperature']
        (yield status)

dataset/ETHPy150Open watchforstock/evohome-client/evohomeclient2/controlsystem.py ControlSystem.temperatures/VarMisuse@145/217 `z`->`status`