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".
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`