Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes WAQI parse check #45

Merged
merged 2 commits into from
Apr 30, 2021
Merged

Fixes WAQI parse check #45

merged 2 commits into from
Apr 30, 2021

Conversation

Swampen
Copy link
Contributor

@Swampen Swampen commented Apr 29, 2021

The if would always return true, because comparing something to NaN is not the same as comparing it to 'NaN'

Fixes #44

@Swampen
Copy link
Contributor Author

Swampen commented Apr 30, 2021

Also fixes #35 (comment)

@dnguyen800 dnguyen800 merged commit 46ff440 into dnguyen800:master Apr 30, 2021
@dnguyen800
Copy link
Owner

thanks @Swampen !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

air_pollution_level does not work with template sensor
2 participants