Previous, the temperature changed callback had a signature like this:
Code: Select all
def TemperatureChangeHandler(event):
print(event.index, event.temperature)
The callback now get's two variables, the event and temperature. However, "index" is now gone from the event object. How are we supposed to read all four temperature?
Code: Select all
def TemperatureChangeHandler(event, temperature):
# no more event.index
Help appreciated.