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

Precipitation probability type incorrectly represented on the canvas graph #122

Closed
dbustosrc opened this issue Mar 1, 2024 · 1 comment · Fixed by #124 or #130
Closed

Precipitation probability type incorrectly represented on the canvas graph #122

dbustosrc opened this issue Mar 1, 2024 · 1 comment · Fixed by #124 or #130
Assignees
Labels
enhancement New feature or request

Comments

@dbustosrc
Copy link

Is your feature request related to a problem? Please describe.
The probability of rain represented on the graph is presented incorrectly, for example. At 55% probability it shows a full bar as if it were 100% instead of a half bar closer to 50% because it is the maximum probability taken and from there it calculates the rest down 48%, 40%, and 17%
imagen

Describe the solution you'd like
The sample should always be graphed from 100% down, and not take the maximum probability as 100% in the sample

Additional context
Edited screenshot of what the graph should look like:
Card code:

entity: weather.tomorrow_io_home_hourly
show_main: false
show_attributes: false
sun: sun.sun
mode: hourly
locale: es
forecast:
  condition_icons: true
  show_wind_forecast: false
  precipitation_type: probability
  labels_font_size: 17
  type: hourly
  style: style2
  number_of_forecasts: '5'
units:
  pressure: ''
  speed: ''
use_12hour_format: false
animated_icons: true
icon_style: style2

imagen

@mlamberts78
Copy link
Owner

mlamberts78 commented Mar 2, 2024

precipitation_type setting is removed and replaced by show_probability setting. show_probability will show the probability next to the rainfall. The bars will show the rainfall with from 20mm as full for day and from 4mm as full for hour view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants