Nevím, ale u mě to nefunguje.Při instalaci to hazí tuto chybu.Pete30 píše: ↑07. březen 2023, 23:10 Celé to bude, je taktoKód: Vybrat vše
it.printf(0, 52, id(pismo), TextAlign::BASELINE_LEFT, "Chlazení: %s", id(regulace).state ? "ON" : "OFF");
Kód: Vybrat vše
/config/esphome/chlazeni.yaml: In lambda function:
/config/esphome/chlazeni.yaml:96:92: error: expected ';' before 'it'
96 | it.printf(0, 49, id(pismo), TextAlign::BASELINE_LEFT, "Teplota: %.1f°C", id(teplota).state)
| ^
| ;
97 | it.printf(0, 62, id(pismo), TextAlign::BASELINE_LEFT, "Chlazení: %s", id(regulace1).state ? "ON" : "OFF");
| ~~
*** [/data/chlazeni/.pioenvs/chlazeni/src/main.cpp.o] Error 1
========================= [FAILED] Took 13.53 seconds =========================