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

Support fractional threshold #302

Open
yangjiel opened this issue Jul 29, 2024 · 2 comments
Open

Support fractional threshold #302

yangjiel opened this issue Jul 29, 2024 · 2 comments

Comments

@yangjiel
Copy link

yangjiel commented Jul 29, 2024

Dear all,

I wonder can we support the fractional threshold number for uv index? Since the openweather does provide an index up to two decimal places. In my area (Vancouver, Canada), day time uv index can be range from 0.1 to 3. And even at 1, it is still very bright outside (I'm living in high rise also). Like UVI goes to 1 at around 3pm in summer while the sun is still high up (you can check the openweathermap). I want to trigger an automation to turn my light on when going dark but the current threshold will not work.

Thank you.

@yangjiel
Copy link
Author

I can submit a merge request to convert the uvi to floating point. But I wonder if Eve can support it as I have little knowledge on Eve.

@dacarson
Copy link
Collaborator

dacarson commented Dec 4, 2024

Open to a merge request

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

No branches or pull requests

2 participants