Commit Graph

898 Commits

Author SHA1 Message Date
Edward Firmo
60c43e99bd Add validation actions (#693)
* Add validation action

* Clean-up yaml

Removed trailing spaces

* Clean-up yaml

Removed trailing spaces

* Clean-up yaml

Removed trailing spaces

* Clean-up yaml

Removed trailing spaces

* Clean-up yaml

Removed trailing spaces

* Update validate_yaml.yml

* Validate on push

Only for nspanel_esphome.yaml and nspanel_blueprint.yaml

* Extending warnings for +255-char lines

* Update validate_yaml.yml

* Clean-up yaml

* Update validate_yaml.yml

* Clean-up yaml

* Clean-up yaml

* Clean-up yaml

* Clean-up yaml

* Clean-up yaml

* Update and rename validate_yaml.yml to validate_blueprint.yml

* Create validate_esphome.yml

* Clean-up yaml
2023-04-19 13:16:28 +02:00
Edward Firmo
cf5829af8f Removing extra line 2023-04-18 21:56:20 +02:00
Chris
6de0c44b14 Nspanel event (#689)
* upd: hmi2txt export

* upd: sync latest dev

* upd: currentpage

* upd: lightsettings

* upd: coversettings

* upd: touchevent

* Fix error preventing long click on button pages

* upd: climate

* upd: lastclick w.o. blueprint

* Upd: Long_press - Lights

* Update: Everything else (#688)

Still a bug with confirmation message and long press button.

* Fix: Notifications

* Fix: Button long press

* Fix: Climate page

* Fix: Indoor temp when no sensor defined

* fix: open climate from homepage triggers mulitple

---------

Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
2023-04-18 21:54:04 +02:00
Edward Firmo
736c2c777a Fix error preventing long click on button pages 2023-04-17 11:26:47 +02:00
Chris
eb748457df Merge pull request #682 from Blackymas/dev
new beta
2023-04-15 16:00:53 +02:00
deejaybeam
e597ad5c59 upd: comments 2023-04-15 15:30:08 +02:00
Edward Firmo
ec68abb7e3 Fix button showing as unavailable on HA restart
Buttons should show as `off` when state is `unknown`.
Same is valid for:
- button
- input_button
- scene
2023-04-15 14:53:02 +02:00
Chris
38272052d7 Merge pull request #681 from deejaybeam/dev
Dev
2023-04-15 14:04:29 +02:00
deejaybeam
d23f53b9d2 Merge branch 'dev' of https://github.com/deejaybeam/NSPanel_HA_Blueprint into dev 2023-04-15 14:03:03 +02:00
Chris
c031cfee22 Merge pull request #679 from Blackymas/edwardtfn-patch-3
Improved weather pages
2023-04-15 13:57:19 +02:00
Chris
12200c80c8 Merge pull request #674 from Blackymas/edwardtfn-patch-2
Change panel selector to built in device selector
2023-04-15 13:02:44 +02:00
Chris
6e4e5ab817 Merge pull request #1 from Blackymas/edwardtfn-patch-2
New Panel selector and a weather backup selection
2023-04-15 12:56:43 +02:00
Edward Firmo
d9de15be10 Improved weather pages
Tested with the following integrations:
- AccuWeather - Better when forecast is enabled
- Met.no - Better when hourly entity is enabled
- OpenMeteo
- OpenWeatherMap
- SMHI
2023-04-15 11:11:13 +02:00
Edward Firmo
576c08c658 Narrowing down the list od devices 2023-04-15 06:47:55 +02:00
Chris
d29517c127 Merge pull request #676 from deejaybeam/dev
upd: set_entity-service
2023-04-14 23:23:01 +02:00
deejaybeam
642a78364a upd: set_entity-service 2023-04-14 23:22:19 +02:00
Chris
2627d993c1 Merge pull request #675 from deejaybeam/dev
fix: button to exit reparse-mode on factory-device
2023-04-14 20:31:40 +02:00
deejaybeam
9d822e7ee9 fix: button to exit reparse-mode on factory-device 2023-04-14 20:25:13 +02:00
Edward Firmo
03c05ff084 Fix input descriptions for icons
To support the new icon format.
2023-04-14 17:32:18 +02:00
Edward Firmo
5604235ded Change panel selector to built in device selector
1. The blueprint will now ask for user to select the panel from the list of ESPHome devices instead of typing it's name, in order to reduce the chance of an error
-> The old name format still supported, so this is not a breaking change.

2. If a weather entity is not provided, the blueprint will pick one weather entity available, if any.
2023-04-14 15:14:06 +02:00
Chris
53b7d9af6f Merge pull request #667 from doron1/patch-1
Update the correct Nextion variable for sleep modus
2023-04-14 11:50:43 +02:00
Edward Firmo
433e83d931 Add support to change baud rate with Nextion (#662)
* User's defined baud_rate

* Update nspanel_esphome.yaml

* Bump version to 3.2.3
2023-04-14 00:49:25 +02:00
Edward Firmo
5d523eabd6 Supports icon from attributes for chips 2023-04-13 14:20:29 +02:00
Edward Firmo
cfb076a01b Support for icon from attributes on Entities pages 2023-04-13 13:53:35 +02:00
Edward Firmo
1d2138fefd Use Home Assistant icon selector for icons (#657)
* Use Home Assistant icon selector for icons

Replace all icon selection to Home Assistant native icon selector, improving the user experience.

Note: As not all the MDI icons are available for Nextion, if one of those icons is selected it will be displayed as a question mark `?`.

* Fix button icon when unavailable

Apply fixed from PR#660 into this branch to avoid merging conflicts in the future.

* Supports legacy icon selection

This add the support for legacy icon selection, so icons will still be shown if users install the new version in an environment where icons where previously selected.
2023-04-13 13:16:52 +02:00
EnginDzhemil
e1b1543a25 fix bulgarian translation (#669)
Co-authored-by: Engin Dzhemil <engin.dzhemil@openpayd.com>
2023-04-12 21:32:22 +02:00
Edward Firmo
13d4156ef1 Fix position of values on page home (#661)
Fix error where values in the page home could be assigned to another component if a previous component have a state unknown or unavailable.
2023-04-12 21:30:49 +02:00
Edward Firmo
877dc316ff Fix button icon when unavailable (#660)
Button pages will show a mdi:alert-circle when an entity is unavailable, just like before.
2023-04-12 21:30:09 +02:00
doron1
b0ea3ef63d Correct Nextion variable for sleep modus
Code was updating the wrong (probably old) variable name on the panel, when the "sleep" button is pressed in settings page
2023-04-12 20:49:57 +03:00
Edward Firmo
76abf9611d Update clock at the beginning of each minute
This was already implemented on #543 but it was lost later:

As it is now, using minutes: "/1", the time will update every minute, but that could happen when lots of seconds has passed on that minute, making possible the displayed time to be up to 59s late.
By changing that to seconds: 0 if forces the update in the same rate, but always in the first second of a minute, keeping the displayed time always updated.
2023-04-12 19:25:18 +02:00
Blackymas
27d1846c2b add some bug fixes and performance improvements
add some bug fixes and performance improvements
2023-04-11 00:27:38 +02:00
Edward Firmo
56f27d1a86 Reduce # of concurrent instances of blueprint
This reduces the number of parallel instances of the blueprint running. I've done several tests and couldn't see more than 10 instances, so I believe if we should limit the concurrent runs and this will probably be an indication of a problem we want to know about.
2023-04-11 00:05:01 +02:00
Edward Firmo
95ff13d831 Convert napanel_name to a valid format (#647)
This supports users mistyping the NSPanel name in the blueprint settings. One of the most common mistakes is using `-` in the name, instead of `_` and this change will try to replace that when users type the name with this invalid char.
2023-04-10 23:58:12 +02:00
Edward Firmo
59727e294d Home page: Removing unnecessary calls to panel (#629)
Trying to gain a bit on performance by not sending calls to the panel when not needed (element not available, etc.).
2023-04-10 23:57:35 +02:00
Edward Firmo
1ea041c731 Fixed translation (Spanish)
As per 342a5ae1b8 (r108312227)
2023-04-10 17:43:15 +02:00
Edward Firmo
3134f07671 Fix input descriptions to entity pages (#634)
It was incorrectly describing BUTTONPAGExx instead of ENTITYPAGExx.

This fixes #633
2023-04-07 12:12:53 +02:00
Edward Firmo
36d2cf2f21 Fixes to Croatian string formats
#628
2023-04-07 11:55:27 +02:00
Edward Firmo
adbe6a4dc6 Fix translations to Croatian
#628
2023-04-07 08:22:27 +02:00
Blackymas
6397053d25 Add time format 24h without leading zero
Add time format 24h without leading zero
2023-04-07 00:55:49 +02:00
Edward Firmo
f5781d48b3 Add "Croatian" as supported language (#632)
#628
2023-04-06 21:45:40 +02:00
Edward Firmo
cf1ed9aa66 Fix: Variable date_format missing
Moving the variable definition back to the root.
2023-04-06 12:49:18 +02:00
Edward Firmo
03498a2b79 Fix: Date format not applied when time changes 2023-04-06 12:41:19 +02:00
Edward Firmo
cee264d769 Add time format 24h without leading zero
To be consistent with the new date format added on v3.2.3.
2023-04-06 09:41:58 +02:00
Edward Firmo
c931e551c8 Bug fixed: Removed duplicated line 2023-04-06 00:36:48 +02:00
Blackymas
f4e8d3b006 Bump blueprint version to `3.2.3
Bump blueprint version to `3.2.3`
2023-04-06 00:30:13 +02:00
Edward Firmo
4fc9f98ce8 Bump blueprint version to 3.2.3 2023-04-06 00:27:00 +02:00
Edward Firmo
5a0715064d Roll back temperature units to fit screen (#625)
This should fix #617
2023-04-06 00:19:43 +02:00
Edward Firmo
124b9d87d5 Remove + from positive temperatures (#624) 2023-04-06 00:14:10 +02:00
Edward Firmo
84c9f073bd Added continue_on_error to service calls (#608)
This will make the automation more resilient, however it could hide some errors, making a bit harder to troubleshoot.
2023-04-06 00:13:08 +02:00
Blackymas
05f68816c6 change weather field temp chars 2023-04-05 23:46:42 +02:00