Closed mech78 closed 1 month ago
no clue how to inject the choosen units for the rain rate in the condition's example text, but hopefully that's okay. Could be in/h or mm/h
sorry for flipping around Niederschlag and Regen all the time. First tried to make it consistent with Homey's translation, but as there's no reason and "measure_rain" won't be used it's even better to stick to Regen as it's truely just watery and not also covering snowfall or hail as Niederschlag would. https://de.wikipedia.org/wiki/Niederschlag#Beispiele_f%C3%BCr_Niederschlag or https://de.wikipedia.org/wiki/Regen
There were a few copy&paste issues.
Also struggled with proper naming of that rain event. Nothing really fits well. But I guess this is because the definition of the rain event and measuring it in mm or inch is something made up by Ecowitt. It's a kind of continuous rain without longer pauses. But calling it (current) rainfall would be misleading as it's not reset after a while, instead it's always the "last" rain event. If one's interested in current rainfall, the rain rate seems to be best as it's really resetting to zero if rain stops.
Found a glitch with doubling the timeunit there.