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".
- Added code to buttons on media_player page.
- Clean-up:
- Moved wake-up select from Blueprint to ESPHome component
- Removed `switch.xxxxx_confirmation_message`
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
- 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
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* 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.