Edward Firmo
450c5f161c
Align the code for the 3 timers
2023-09-15 17:07:54 +02:00
Edward Firmo
dd2c360780
Fix call to sleep routine when timeout changes
...
Solves #1037
2023-09-15 10:20:37 +02:00
Edward Firmo
e8193c2bb7
Fix names on button pages
...
Fix names when a name is not provided in the blueprint settings.
2023-09-15 10:03:50 +02:00
Edward Firmo
76a9520557
Fix empty page climate
2023-09-15 09:46:27 +02:00
Edward Firmo
c2d94ce183
Removed trailing spaces
2023-09-15 00:24:14 +02:00
Edward Firmo
21e099bb5f
New sleep flow
2023-09-14 23:59:27 +02:00
Edward Firmo
d1638863a4
Remove entity info from pages on TFT
...
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
2023-09-13 23:36:24 +02:00
Edward Firmo
db86e701e4
Home page - Custom buttons
...
On the blueprint you can now set up to 3 buttons to be shown on Home page.
It will show the detailed settings page, so the entity must be compatible.
2023-09-13 00:01:43 +02:00
Edward Firmo
7ba90fe741
Remove dimming timer for now
...
The funcionality isn't completed.
2023-09-12 20:09:04 +02:00
Edward Firmo
81d16343a7
Media Player control
...
You will be able to add a Media Player entity to any of the buttons pages and with a long press you will see the media player page.
2023-09-12 20:06:58 +02:00
Edward Firmo
39a5fcf434
Fix unknown service: media_player.null
2023-09-11 23:49:00 +02:00
Edward Firmo
e1a078fea5
Media player first buttons actions
2023-09-11 23:21:57 +02:00
Edward Firmo
7452dfd2bb
Simplify touchevent engine
...
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".
2023-09-11 12:17:10 +02:00
Edward Firmo
beb123cd19
Improved version notification
2023-09-11 01:35:25 +02:00
Edward Firmo
605de42f67
Fix logging for global_settings
...
It was logging wakeup_page, which is deprecated
2023-09-10 22:51:26 +02:00
Edward Firmo
591c7aa69b
Media player - Buttons
...
- Added code to buttons on media_player page.
- Clean-up:
- Moved wake-up select from Blueprint to ESPHome component
- Removed `switch.xxxxx_confirmation_message`
2023-09-10 22:37:36 +02:00
Edward Firmo
796968122b
Fix pages not updating values
...
Solves #1026
2023-09-10 12:56:15 +02:00
Edward Firmo
6e65ea3d03
New "Confirm" pop-up
...
This also removes the sensor "NSPanel Event"
2023-09-10 02:48:28 +02:00
Edward Firmo
b5bb42c68d
Fix entity info when calling detailed pages
...
Solves #1022
2023-09-09 02:58:23 +02:00
Edward Firmo
5ed58d8f24
Adjustments to settings page
2023-09-08 20:29:08 +02:00
Edward Firmo
071ee7f39a
Disable restore notification_unread
...
This must be changed to a binary sensor in the future.
2023-09-07 22:50:40 +02:00
Edward Firmo
4fe8633978
version 4.0 ready for release
2023-09-07 17:22:52 +02:00
Edward Firmo
fec2824464
Minor adjustments on settings page
2023-09-07 17:10:16 +02:00
Edward Firmo
c819bbec9c
update temp_nspanel when correction changes
2023-09-07 08:49:20 +02:00
Edward Firmo
79f921e99c
Review temperature correction engine
2023-09-07 02:01:39 +02:00
Edward Firmo
067c173995
Handle embedded_indoor_temperature
...
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
2023-09-07 00:32:20 +02:00
Edward Firmo
f0c72e663c
Fix ESPHome not starting with older TFT
2023-09-06 02:48:16 +02:00
Edward Firmo
3a2da38c6f
Word-wrap for Alarm page
2023-09-06 01:29:56 +02:00
Edward Firmo
4668073522
Word-wrap buttons pages
...
Taking advantage of the algorithm created for notifications.
2023-09-06 01:06:27 +02:00
Edward Firmo
066cd31616
Notifications page rebuilt
...
- 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.
2023-09-06 00:52:35 +02:00
Edward Firmo
1c1cf8e959
Notification word-wrap
...
For EU and US_LAND only, for now.
2023-09-05 00:40:10 +02:00
Edward Firmo
7097d9bf84
Enable translations of Settings page
2023-09-04 21:13:18 +02:00
Edward Firmo
7f6b5a7115
Page settings redesign
...
Clean up the UI of settings page.
Prepare for translations.
2023-09-04 17:55:04 +02:00
Edward Firmo
d3098a7f40
Fixed buttons on settings page
2023-09-04 12:23:46 +02:00
Edward Firmo
c2ecffd775
Adjusted time for HW long click
2023-09-04 12:20:02 +02:00
Edward Firmo
ba166ac55b
Fix button pages not showing
2023-09-04 07:20:10 +02:00
Edward Firmo
d569956ff2
Add service set_component_color
...
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
2023-09-03 23:52:36 +02:00
Edward Firmo
0518531f02
Renamed wake_up_display to wake_up
2023-09-03 21:25:49 +02:00
Edward Firmo
806883ca34
Adding ID to components missing it
2023-09-03 21:19:54 +02:00
Edward Firmo
9563dba722
Display internal sensor value when wifi is out
...
Before it was showing on home page only when API was out. This adds a test for WiFi.
2023-09-03 18:01:47 +02:00
Edward Firmo
1dfd0e6f9a
Cleanup boot sequence
...
Move some functionalities to ESPHome
2023-09-03 15:17:25 +02:00
Edward Firmo
41c3b01769
Visual improvements on climate page
...
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
2023-09-03 11:47:00 +02:00
Edward Firmo
5cc19470f7
Fix climate icon update
...
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
2023-09-02 11:52:31 +02:00
Edward Firmo
cc9caa7017
Move script.refresh_colors to service.global_settings
...
As this is called from a single point, there's no meaning of having a separated script.
2023-09-02 10:57:14 +02:00
Edward Firmo
b134a37408
Enable current_page sensor by default
...
Otherwise the system won´t update values unless the page is reloaded.
2023-09-02 01:54:20 +02:00
Edward Firmo
2e33d94955
Clean-up Cover page
...
I'm preparing this page to have icons changing based on the device_class selected to a cover.
2023-09-02 00:35:32 +02:00
Edward Firmo
0a3babfbce
Clean-up page settings
2023-09-01 20:27:56 +02:00
Edward Firmo
0265dd8826
Update settings page when brightness changes on HA
...
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
2023-09-01 14:06:49 +02:00
Edward Firmo
3345394bb4
Fix Settings page element ids
...
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
2023-09-01 06:09:29 +02:00
Edward Firmo
836cd1a047
Fix icon font sizes 10 and 64
...
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
2023-09-01 05:02:23 +02:00