224 Commits

Author SHA1 Message Date
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
Edward Firmo
ba5db23ae6 Optimize wake_up_display service 2023-08-31 20:08:29 +02:00
Edward Firmo
32b62adc96 Support to wake-up page on wake_up_display service
This changes the behavior of a service introduced by #734.
2023-08-31 19:59:59 +02:00
Edward Firmo
960c055fb5 Clean-up TFT
- 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
2023-08-31 14:27:25 +02:00
Edward Firmo
4748739155 Move brightness control to global var
Clean up page Home
2023-08-30 15:08:28 +02:00
Edward Firmo
f29eeda845 Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.

Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
2023-08-29 11:55:50 +02:00
w00zy
b5614bb3d8 uptime sensors (#998) 2023-08-28 19:28:30 +02:00
Edward Firmo
97109f4ba5 Phase out sensor nspanel_event (partially)
This sensor is being replaced by event calls.
2023-08-27 19:53:14 +02:00
Edward Firmo
0f49eb2f8c Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
2023-08-27 10:50:38 +02:00
Edward Firmo
46a4b6929e Fix script call 2023-08-25 22:23:01 +02:00
Edward Firmo
15b453c3ab Removed ${verbose_log}
Use logger level `VERBOSE` instead
2023-08-25 22:19:54 +02:00
Edward Firmo
ab99a48f0a Bump version to 4.0 2023-08-25 12:02:35 +02:00
Edward Firmo
49b9ebe128 Fix Alarm page bypass icon 2023-08-25 11:46:08 +02:00
Edward Firmo
a907ff5004 Home buttons new format - Notification
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.
2023-08-24 10:18:42 +02:00
Edward Firmo
27fc5c3e89 Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
2023-08-23 22:18:31 +02:00
Edward Firmo
1ad3d7ef4b Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
2023-08-23 20:04:37 +02:00
Edward Firmo
f399d757e5 Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
2023-08-23 10:54:56 +02:00
Edward Firmo
c389c5b20b Fix alarm icon not updating on home page 2023-08-23 08:25:48 +02:00
Edward Firmo
b83c513093 Update alarm icon on home page
Refresh icon when alarm state changes.
2023-08-22 20:02:58 +02:00
Edward Firmo
2edfeef095 Support to code_arm_required
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
2023-08-22 08:45:39 +02:00
Edward Firmo
3975806078 Removed fast_connect 2023-08-22 00:47:25 +02:00
Edward Firmo
e96e342975 Revert fast_connect back to false 2023-08-21 21:25:10 +02:00
Edward Firmo
a339ef3c8f Update alarm icon & color 2023-08-21 18:22:16 +02:00
w00zy
be9b189a61 Human readable Uptime (#986)
* Human readable Uptime

* Uptime from Frenck code

* Uptime with Frenck code

* Updated Human Readable Uptime

* Removed trailing spaces

* Renamed sensor to "Last started"

Sensor renamed
Update moved to the boot process
Clean-up

---------

Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
2023-08-21 15:32:29 +02:00
Edward Firmo
d8e181fdda Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
2023-08-17 20:23:25 +02:00
Edward Firmo
10698fa666 Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
2023-08-16 22:38:11 +02:00
Edward Firmo
fcc0477593 Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.

Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
2023-08-16 17:03:41 +02:00
Edward Firmo
cb0e2aaa4b Add keyb_num page 2023-08-16 13:19:41 +02:00
Edward Firmo
6964af008b Alarm button font color 2023-08-15 21:00:28 +02:00
Edward Firmo
a4b201a2fa Create Alarm page 2023-08-15 20:48:46 +02:00
Edward Firmo
96b3a375b0 Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
2023-08-10 11:27:58 +02:00
Edward Firmo
ebe1e7243e Bump version to 4.0 dev 2023-08-10 09:33:22 +02:00
Edward Firmo
1965bedf3a Standardize HA service calls 2023-08-10 00:08:45 +02:00
Edward Firmo
e98ca4c8d4 Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.

Solves #975
2023-08-09 23:53:36 +02:00
Edward Firmo
f1456dba3a Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
2023-08-09 19:00:09 +02:00
Edward Firmo
21822dae37 Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
2023-08-03 23:53:06 +02:00
Edward Firmo
7ad95a66d8 Call a fan.turn_off when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
2023-08-03 22:36:03 +02:00
Edward Firmo
dc787c5b0d Fix set_temperature for climate
Solves #957
2023-08-02 10:02:25 +02:00
Edward Firmo
9aa8421117 Fix issue with restore_state and ESPHome v2023.7.0 (#941) (#943)
Solves #939
2023-07-19 18:56:15 +02:00
Edward Firmo
6ed378b8e0 Default embedded climate to relay_0 2023-07-19 13:08:08 +02:00
Edward Firmo
d329d92713 Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
2023-07-19 12:50:06 +02:00
Edward Firmo
2594df56ad Fix relays chips
Fix relay status indication on chips.

Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
2023-07-19 11:09:13 +02:00