![]() Is there an ESPHome-safe way to use special symbols like that similar to how HTML has & and other characters that would mess up the interpreter? I’d really like to use the degree symbol, I recently got a weather station setup and it tells me wind direction, I’d like to define it in degrees of direction but it chokes on that symbol too. Rally a Squad Showdown from your favorite heroes for. It.printf(0, 10, id(my_small_font), "The Eatery! %.0f'F %.0f%%", id(eatery_temperature).state, id(eatery_humidity).state) Level 1-30 Glyphs are from level 20, 31-40 at level 60, 41-50 at level 100. ![]() However, something very interesting is that when I validate an ESPHome yaml file with a display and a font it generates a list of “supported characters” and the last character in the list is a degree symbol!!. I’ve tried all of these degree symbols and none of them work. This shows up when I have a degree symbol for displaying the temperature in degree’s Fahrenheit: display: Please see YAML syntax reference or use an online YAML syntax validator:Įrror reading file /config/esphome/eatery.yaml: 'utf-8' codec can't decode byte 0xb0 in position 2691: invalid start byte It turns out that the degree symbol (°) is not valid YAML syntax and generates this error: INFO Reading configuration /config/esphome/eatery.yaml.ĮRROR Error while reading config: Invalid YAML syntax. I started working with displays in ESPHome recently and I’m trying to display temperature and humidity and something struck me.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |