Commit Graph

898 Commits

Author SHA1 Message Date
Blackymas
a47d8c3fbb v.3.4 - New climate page and some bug fixes
v.3.4 - New climate page and some bug fixes
v3.4
2023-06-18 21:54:53 +02:00
Blackymas
2b62a770f7 v3.4 - New Climate Page and some bug fixes
v3.4 - New Climate Page and some bug fixes
2023-06-18 21:52:41 +02:00
Edward Firmo
e2c17c8716 Remove inputs for chip3 (Climate) (#874)
Removed all inputs related to customization of chip03 (Climate entity) and instead will follow the same icons and colors used by page climate, with a thermometer replacing the fire icon for heating.
2023-06-18 08:11:30 +02:00
Edward Firmo
0bce4c79b3 Change icon for heat in hvac_action 2023-06-15 17:02:37 +02:00
Edward Firmo
913dc39156 Update nspanel_blueprint.yaml 2023-06-15 10:10:25 +02:00
Edward Firmo
d722e115a8 Wake up screen with long press on button
This solves #558
2023-06-15 10:07:23 +02:00
Edward Firmo
5cfed28caf Fix incorrect variable climate_action_attr 2023-06-14 12:02:55 +02:00
Edward Firmo
74c1e22610 Fix hvac_action display 2023-06-14 11:26:24 +02:00
Edward Firmo
575bda2955 Remove hotwater (#866)
Now the custom icons can be used instead.
2023-06-08 15:48:56 +02:00
Edward Firmo
c1ef9eb92b Fix hvac_action indication icons (#865)
* Fix `hvac_action` indication icons

Fix for pages home and climate.
This should remove the need for all the 25~30 instances of hot water in the code.

* Update nspanel_esphome.yaml
2023-06-08 15:28:25 +02:00
Edward Firmo
4cb8bbe72e Climate - Custom buttons - Long press (#864)
* Climate - Custom buttons - Long press

This add long press functionality to Custom buttons and also fix a bug on short press.
I believe the new custom page is ready for get user's feedback with this.

* Climate - Custom buttons - Long press

* Climate - Custom buttons - Long press

* Climate - Custom buttons - Long press
2023-06-08 14:42:54 +02:00
Blackymas
25f6afcb8f fix some UI Design issues 2023-06-07 22:55:02 +02:00
Edward Firmo
b9bf5b95fa Climate - Custom buttons - Short press 2023-06-06 16:14:49 +02:00
Edward Firmo
8c9b135dc1 Climate - Custom buttons - Update status (#862)
Update status of custom buttons on climate page when the status changes.

=> Still missing to assign control to these buttons.
2023-06-06 12:41:51 +02:00
Edward Firmo
cc1f6999cc Climate - Custom buttons (#859)
* Climate - Custom buttons

Initial implementation of custom buttons on climate pages.

* Update nspanel_esphome.yaml

* Update tft files

* Update nspanel_eu_code

* update nspanel_us_code
2023-06-05 12:00:14 +02:00
Blackymas
6219ecdc79 new climate nspanel_us 2023-06-04 23:11:54 +02:00
Blackymas
0878696b79 climate nspanel_eu finish 2023-06-02 23:40:47 +02:00
Edward Firmo
ab067bd20c Climate page - Performance & bug fix (#854)
* 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`
2023-06-02 09:02:41 +02:00
Edward Firmo
3b4cc94518 Update translations - Swedish
From #845 by @rogerjak.
2023-06-01 18:58:04 +02:00
Edward Firmo
94d3157c4d Climate: support to target_temp_step (#853)
* 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
2023-06-01 18:30:16 +02:00
Edward Firmo
0e48d65549 2sec hold for sending target_temp (#851)
* 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
2023-05-30 17:07:22 +02:00
Edward Firmo
89e55a20d4 Fix buttons on climate page (#850)
* 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
2023-05-29 21:08:07 +02:00
Edward Firmo
5298a0a032 Move target_temp set to TFT (#849)
* 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
2023-05-29 18:12:58 +02:00
Edward Firmo
410255ba37 Language update - NOR & FIN 2023-05-26 12:07:55 +02:00
Edward Firmo
5463e54926 Remove climate-optimistic mode (#841)
* Remove climate-optimistic mode

* Remove `send_thermostat_cycle_state` service

* Remove sensor `Display Target Temperature`

* Remove `display_target_temperature`
2023-05-26 11:49:20 +02:00
Edward Firmo
3e0cd4a9bd New climate page - Buttons (basic)
Initial implementation of buttons on the new climate page.
2023-05-25 15:56:14 +02:00
Blackymas
864abd24fc fix Button 7 and remove all default values 2023-05-24 23:20:43 +02:00
Edward Firmo
72705d9806 New climate page - Values 2023-05-24 21:24:11 +02:00
Edward Firmo
14283c0776 New climate page - basic support (#835)
* New climate page - basic support

Basic support to the new climate page.
Still pending values and buttons.

* Support to new climate services

* New climate page - basic
2023-05-24 18:38:41 +02:00
Edward Firmo
e5a702e541 Translations - ITA & HEB 2023-05-24 11:10:55 +02:00
Edward Firmo
8f80e1fb84 Translations - Spanish 2023-05-23 22:55:51 +02:00
Edward Firmo
5063b4a4c0 Translations - Croatian 2023-05-23 16:27:41 +02:00
Edward Firmo
f0549e2660 Translations - DEU & POL 2023-05-23 09:41:07 +02:00
Blackymas
d038bcc0d5 changed nspanel_us tft version 2023-05-22 22:38:57 +02:00
Edward Firmo
a28f1fb586 Translations - FRA & GRC 2023-05-22 15:49:27 +02:00
Edward Firmo
8ad3beb72f Add API connection status sensor (#774)
As requested by users:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/735#discussioncomment-5755419

Could this be used to prevent some of the "Loading..." or perhaps update screen when connection is reestablished?
2023-05-22 13:57:49 +02:00
Edward Firmo
1a46c85e6e Enable users select alignment for entity values (#753)
* Enable users select alignment for entity values

Users will be able to select the alignment for the column with values on the entity pages.
The options are:
- Right (default)
- Center
- Left

solves #732

* Add support to `xcen` on `set_entity`
2023-05-22 13:56:34 +02:00
Edward Firmo
3a5f562c20 More flexible date_format engine (#744)
* More flexible `date_format` engine

This is not changing anything for normal users other than minor UI on the blueprint setting, however will start using the `date_format` in a python standard string, but translating `%A` with existing weekdays in MUI.
Advanced users will be able to edit they automation yaml (either in `automations.yaml` file or editing the automation in yaml mode) in order to use any format they want.
=> This is not adding new translations to short week days or months, so if users add this in advanced mode, it will be shown in English.

* Added support for translation of date strings

Support translations to all date related strings.
=> Pending the translations - to ask support from the community.

* Support for custom date formats

* Fixed translation PRT

* Update nspanel_blueprint.yaml
2023-05-22 13:55:05 +02:00
Blackymas
70d62f51f8 add new climate
add new climate for nspanel_eu
add global variable home page for naspanel_us
2023-05-21 22:44:06 +02:00
Edward Firmo
c3acffd829 Auto-update entities pages (simplified) (#819)
This is a simplified version of #728 which is easier to maintain, as only conditions for entities pages have being added.
So the scope is limited to:
- Auto-update entity pages without compromising overall performance. (Entities page values not updating unless re-opened #410)
2023-05-18 14:53:37 +02:00
Edward Firmo
4688608ba1 Fix status bar error when no climate
Fix an issue on constructing the status bar when a climate entity is not defined.
2023-05-17 10:10:42 +02:00
Edward Firmo
221e3a168f Removed pages names from nextion var
To make it easier for future updates
2023-05-17 09:33:22 +02:00
Edward Firmo
bfbd95f9c1 Fix selectors for Button 32 (#818)
This closes #815
2023-05-17 09:02:23 +02:00
Edward Firmo
45725dc820 New time&date update strategy (#785)
Takes advantage of new global vars implemented by eee2bb7295
This will improve drastically the speed on displaying the Home page.
This push removes the update of date & time from the Home page and moved it to the time minute trigger (every minute), regardless the page shown (including when sleeping).
The time is also update after a boot (to ensure there's a time value when the Home page is displayed for the first time) and with an automation reload (just to cover the case when time format changes).
2023-05-09 17:02:16 +02:00
Blackymas
e55db10b70 home page local to global 2023-05-04 17:24:55 +02:00
Blackymas
ba82e08470 change home page local to global 2023-05-04 17:20:01 +02:00
Blackymas
eee2bb7295 change home page local to global 2023-05-04 17:16:28 +02:00
Edward Firmo
91dab53a59 Fix error when hw button is not on/off (#776)
This prevents message `Nextion reported variable name invalid!` when the button have a state other than `on` or `off`, like when it is connected to a stateless entity (scene, automation, etc.).
2023-05-04 00:04:56 +02:00
Edward Firmo
15aab73376 Fix sorting of language names 2023-05-02 18:22:45 +02:00
Edward Firmo
fc8108fc2c Fix units showing None when not available (#767)
This solves #766
2023-05-02 10:43:25 +02:00