We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Temperatures in °F don't seem to show the right color. Looks like this logic isn't quite working, even though in HA my sensors are setup that way.
if (attributes.unit_of_measurement === "°F") { nonRetardedTemperature = nonRetardedTemperature / 1.8 }
state_class: measurement unit_of_measurement: °F device_class: temperature friendly_name: Outdoor Temperature
The text was updated successfully, but these errors were encountered:
Oops, what an unfriendly variable name - especially because °F is just another scale. Sorry for that.
Does the plugin display the correct value in °F? If yes, which value does it show in which color?
Sorry, something went wrong.
I don't mind the naming. :)
ACTUALLY, the bug is just the 1.8. My living room is 70F, and by your math, 38C, which is wrong. What you want:
C = 5/9 * (F-32)
Ah. Easy fix.
dfdfa19
Merge pull request #153 from cgiesche/streamdeck-homeassistant-150
a8e87f7
Fixed #150: Wrong Fahrenheit to Celsius conversion.
cgiesche
No branches or pull requests
Temperatures in °F don't seem to show the right color.
Looks like this logic isn't quite working, even though in HA my sensors are setup that way.
if (attributes.unit_of_measurement === "°F") {
nonRetardedTemperature = nonRetardedTemperature / 1.8
}
state_class: measurement
unit_of_measurement: °F
device_class: temperature
friendly_name: Outdoor Temperature
The text was updated successfully, but these errors were encountered: