Skip to content

Commit

Permalink
Adds the illuminance sensor data, do not know if this is correct, see…
Browse files Browse the repository at this point in the history
…ms to respond to light changes in the room.
  • Loading branch information
sverrham committed Feb 5, 2022
1 parent 3cf0312 commit e58c0f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/airthings_wave/airthings.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def decode_data(self, raw_data):
self.format_type,
raw_data[2:])
res = {}
#res['ambientlight'] = val[2]
res['illuminance'] = val[2]
#res['measurement_periods'] = val[5]
res['battery'] = val[17] / 1000.0

Expand Down

0 comments on commit e58c0f7

Please sign in to comment.