Skip to content

Commit

Permalink
Commented out ambient light and measurement periods, don't want them …
Browse files Browse the repository at this point in the history
…for now...
  • Loading branch information
sverrham committed Jan 30, 2022
1 parent b7a35b0 commit eeec873
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/airthings_wave/airthings.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ def decode_data(self, raw_data):
self.format_type,
raw_data[2:])
res = {}
res['ambientlight'] = val[2]
res['measurement_periods'] = val[5]
#res['ambientlight'] = val[2]
#res['measurement_periods'] = val[5]
res['voltage'] = val[17] / 1000.0

V_MAX=3.2
Expand Down

0 comments on commit eeec873

Please sign in to comment.