bastienboutonnet / py-nest-thermostat

Python CLI Nest Controller and Reporting Tool.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Key Error on `heatCelcius` probably because of eco mode

bastienboutonnet opened this issue · comments

You're currently controlling the 'Entryway' thermostat.

  KeyError

  'heatCelsius'

  at py_nest_thermostat/nest_api.py:158 in get_device_stats
      154│             ),
      155│             temperature_unit=temperature_unit,
      156│             mode=self.active_device.traits["sdm.devices.traits.ThermostatMode"]["mode"],
      157│             target_temperature=round(
    → 158│                 self.active_device.traits["sdm.devices.traits.ThermostatTemperatureSetpoint"][
      159│                     f"heat{temperature_unit}"
      160│                 ],
      161│                 1,