Hello,
I have one ESPHome node with LCD and rotary encoder also there is a simple thermostat card on HA’s dashboard which is uses climate platform. I want to get “set temperature” value from this card to the ESP and display on the LCD so i can set the temparature with rotary encoder. I can read the room temperature from Dallas 18B20 sensor and print on LCD because it’s connected to ESP directly and temperature data being created inside ESP. But i dont know how to get card data from dashboard.
Now i have an another problem. I am getting current_temperature from the climate card but target_temperature showing itself as NAN. Here is my codes. Any idea? And one last thing; do you see any problem with my rotary encoder codes? I am not getting any response. Connections are correct because i tested with Rotary Encoder Example sketch in Arduino IDE but in ESPHome rotary encoder doesn’t work.