28.11.2017, 11:45
What kind of error are you getting?
Also try this:
Also try this:
Code:
key, alarms = next(data['smoke_co_alarms'])
co_alarm_ok = alarms['co_alarm_state'] == 'ok'
grp.update('1/1/1', co_alarm_ok, dt.bool)