Since v3.4, the info about entity_id shown was going all the way to Nextion and then sent back in the json return, however this requires a long (100-char) global var and the way it was implemented, it was one of those per settings page, as climate should be also recorded at the same time in case the embedded climate was installed.
This was taking too much memory, so I've moved this info to a global variable (string) in ESPHome.
There is now lots of space for code cleaning (and still pending to do the same with climate entity, as it could be only a bool to inform if embedded), but this brings the functionality.
This enabled the return to global for some components, so it probably solves #1031
The touch event is used only for the sleeping engine (it will be used for dimming later) and it was transferring all the json info with page name, component, entity, etc.
This was replaced by a simple random integer with no meaning other than "the screen was touched, reset the timer".
* Climate page - Performance & bug fix
Performance improvement:
- Moved icon definition to TFT, so only buttons related to supported hvac modes will be updated and just icon color and link enabling is sent.
Bug fixing:
- Removed incorrect button name on buttons update
Others:
- Merged `set_climate_target_temp` into `set_climate` services
- Update current temperature when target temperature is updated
* Removed reference to `set_climate_target_temp`
Removed unused entry from blueprint.
* Removed service `set_climate_target_temp`
* Update `nspanel_eu`
- Set climate buttons on the TFT.
- Bump version to 3.3.2 (temporarily, to align with ESPHome and Blueprint)
* Update `nspanel_eu_code`
* Climate: support to `target_temp_step`
Adding support to attribute `target_temp_step` to define the step of changing temperature.
`0.5` will be used if this attribute is not available on the climate entity.
* Update nspanel_esphome.yaml
* Update nspanel_eu files
* Update nspanel_eu_code files
* 2sec hold for sending target_temp
Added 2sec hold of `target_temp` value before sending it to ESPHome and Blueprint, so the climate service is not called at every click on the slider or +/-.
* Update nspanel_eu_code
* Fix buttons on climate page
Fix icon for dry and auto.
Move Off for last position.
Fix TFT sending incorrect id for buttons.
* Update TFT
* Update nspanel_eu_code
* Move target_temp set to TFT
Use TFT to set target temp from slider and +/-.
Using decimals for slider.
* Update nspanel_esphome.yaml
* Update nspanel_eu files
* update nspanel_eu_code folder