Compare commits
No commits in common. "9b9fd1651388e211aed253e4b10d1b553dd7443e" and "615b384487ae661894fe9ba53af0e3ca5a8941c8" have entirely different histories.
9b9fd16513
...
615b384487
|
|
@ -10,6 +10,6 @@
|
||||||
"issue_tracker": "https://github.com/schizza/SWS-12500-custom-component/issues",
|
"issue_tracker": "https://github.com/schizza/SWS-12500-custom-component/issues",
|
||||||
"requirements": [],
|
"requirements": [],
|
||||||
"ssdp": [],
|
"ssdp": [],
|
||||||
"version": "0.1.3.4",
|
"version": "0.1.3",
|
||||||
"zeroconf": []
|
"zeroconf": []
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -201,7 +201,7 @@ def chill_index(data: Any) -> UnitOfTemperature:
|
||||||
|
|
||||||
temp = float(data[OUTSIDE_TEMP])
|
temp = float(data[OUTSIDE_TEMP])
|
||||||
wind = float(data[WIND_SPEED])
|
wind = float(data[WIND_SPEED])
|
||||||
|
|
||||||
return round(
|
return round(
|
||||||
(
|
(
|
||||||
(35.7 + (0.6215 * temp))
|
(35.7 + (0.6215 * temp))
|
||||||
|
|
@ -209,4 +209,4 @@ def chill_index(data: Any) -> UnitOfTemperature:
|
||||||
+ (0.4275 * (temp * (wind**0.16)))
|
+ (0.4275 * (temp * (wind**0.16)))
|
||||||
),
|
),
|
||||||
2,
|
2,
|
||||||
) if temp < 50 and wind > 3 else temp
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue