Skip to content

Commit

Permalink
Fix variable
Browse files Browse the repository at this point in the history
  • Loading branch information
gjohansson-ST committed Aug 18, 2024
1 parent bba5eb7 commit 143a06a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pysensibo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,8 @@ async def async_get_devices_data(self) -> SensiboData: # noqa: C901
"measurements_integration", False
)
pure_prime_integration = pure_conf.get("prime_integration", False)
if (pm25 := measure.get("pm25")) is not None:
pm25_pure = PureAQI(pm25)
if (_pm25 := measure.get("pm25")) is not None:
pm25_pure = PureAQI(_pm25)
else:
pm25 = measure.get("pm25")

Expand Down

0 comments on commit 143a06a

Please sign in to comment.