Fix display docs format typo (#37)

https://github.com/OttoWinter/esphomeyaml/issues/128#issuecomment-425777989
This commit is contained in:
Otto Winter 2018-10-04 18:59:42 +02:00 committed by GitHub
parent f330993bd4
commit 1dc9173c39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,7 @@ arguments after the format string in the right order.
# ...
lambda: |-
// %% - literal % sign
it.printf(0, 0, id(my_font), "Temperature: %.1°C, Humidity: %.1f%%", id(temperature).value, id(humidity).value);
it.printf(0, 0, id(my_font), "Temperature: %.1f°C, Humidity: %.1f%%", id(temperature).value, id(humidity).value);
The last printf tip for use in displays I will discuss here is how to display binary sensor values. You