genielabs/HomeGenie — pull request #56 by Bounz (2014-12-02 05:09:16+00:00)
Title: Fixing thermostat handler

So, in order to support Z-Wave.Me thermostat I had to implement new automation command - "MultiLevel.Get", as thermostat doesn't report its temperature by itself and I've to poll the temperature value by automation program.
After that I've found out that HomeGenie can't handle THERMOSTAT_MODE reports:
> // mode=heating
> [23:16:46.648634] SPI > 01 09 00 04 00 09 03 40 03 00 BB
> [23:16:46.654045] SPO < 06
> ZWaveLib UNHANDLED message: 01 09 00 04 00 09 03 40 03 00 BB

It was because generic thermostat handler didn't override `HandleBasicReport` method. After changing `HandleBasicReport` method from `virtual` to `override` I'd to add a call to parent's `HandleBasicReport` method for handling temperature's reports (as `Thermostat` is child of `Sensor`).