Commit Graph

795 Commits

Author SHA1 Message Date
Edward Firmo
222ae92d36 Update README.md (#727) 2023-04-26 22:04:15 +02:00
Edward Firmo
b05633aae5 Rebuild Sleep mode switch (#719) 2023-04-26 22:03:54 +02:00
Edward Firmo
32b98e09f6 Creating CONTRIBUTING.md (#700) 2023-04-26 22:03:06 +02:00
Edward Firmo
c78ea43ea2 Fix light/cover settings page appearing on swipe 2023-04-26 13:21:06 +02:00
Edward Firmo
355a643ff7 Visual feedback for stateless entities (hw button) (#725)
Implement visual feedback for stateless entities (whatever finishes with a state other than `on`, `off`, `open` and `closed`, like scenes, automations, buttons, etc.).
This extends b18f2848f4 and solves #691.
2023-04-25 21:00:30 +02:00
Edward Firmo
a252ddf74e Fix: button not updating with external changes (#721)
* Fix: button not updating with external changes

* Removed debug code

* Revert trigger_id change
2023-04-24 20:52:05 +02:00
deejaybeam
8ca88755c1 fix: follow new default-mode esphome 2023.4 2023-04-24 17:55:36 +02:00
Edward Firmo
32f297353a Fix issue with light settings page opening with 0% 2023-04-24 13:11:45 +02:00
Edward Firmo
41d6acdf36 Changes to nextion_inited to become a sensor (#715)
* Changes to nextion_inited

Changed from `switch` named `Nextion inited` (with entity_id like `switch.xxxx_nextion_inited`) to a `binary_sensor` named `Nextion display` (`binary_sensor.xxxx_nextion_display`).
The idea is to avoid users trying to change it's state from Home Assistant (with unknown consequences) and make this entity more clear, improving usability.

* Change `nextion_inited` to a sensor
2023-04-24 12:42:06 +02:00
Edward Firmo
19e6374e03 Rename 'Sleep mode' switch (#714)
* Rename 'Sleep mode' switch

Renamed from `Sleep Modus` to `Sleep mode`.

Breaking change: This will rename the entity_id of that switch and this can affect existing automations created by users and also will require changes in the blueprint if #698 is merged.
Note: Variable names in HMI/TFT not renamed.

* Align with other PR
2023-04-24 12:40:44 +02:00
Edward Firmo
374502c6d8 Replaces the white screen by a QR code (#701)
The QR code have a link to the repository, but perhaps this could be changed later to point directly to a page with instruction of what to do if a user see that screen.
The file is growing by less than 1kb and I believe a QR code with a link gives to the users a better feeling than a totally white screen where they cannot interact with.
2023-04-24 12:35:51 +02:00
Edward Firmo
f9776463c1 Wake-up panel when sleep mode is disabled (#698)
The panel will wake-up to Home page if it is on screen saver page (sleeping) when sleep mode is disabled.

This solves #696
2023-04-24 12:34:53 +02:00
Edward Firmo
f48a58a76a Standardize inputs descriptions (#694)
* Standardize inputs descriptions

Standardize the descriptions on all inputs (visible to users when setting up the Blueprint)

* Removing trailing spaces
2023-04-24 12:34:04 +02:00
Edward Firmo
d7944855ad Fixes to translations in POL as per #695 (#705) 2023-04-23 21:41:51 +02:00
Edward Firmo
9ef8287be7 Fix error on weather pages pic
The weather picture was broken when breaking down that line of code.
2023-04-23 18:52:17 +02:00
Edward Firmo
c750971b0e Standardize yaml
To improve readability.
No changes in the code.
2023-04-23 15:42:17 +02:00
Edward Firmo
36a0811776 Standardize yaml
No changes in functionalities, just removing blank lines and indentation of comments.
2023-04-23 14:29:57 +02:00
Edward Firmo
508dbd01a8 Clean up (#704)
* Break down long lines

To improve readability.

* Update nspanel_blueprint.yaml

* Breaking down long lines

To improve readability.

* Clean-up

* Breaking down long lines
2023-04-21 14:13:59 +02:00
Edward Firmo
ebb37b85c8 Fix translations to FIN as per #703 2023-04-21 14:07:35 +02:00
Edward Firmo
8e04a34e41 Code clean-up 2023-04-21 10:42:13 +02:00
Edward Firmo
8a510086b1 Standardize the use of ' and " in the code (#702)
The new standard for code will be like this:
`var: '{{ state_attr(entity_id, "friendly_name") }}'`
2023-04-21 10:03:15 +02:00
Edward Firmo
f01f3d5e4e Used aliases for element on home page (#697)
- Removed duplicated code used to update element in the home page and used aliases instead.
- Breaking down long lined to improve readability.
2023-04-20 13:08:31 +02:00
Edward Firmo
e78b77de9e Added link to yamllint docs 2023-04-20 12:08:16 +02:00
Chris
42766724fa upd: bump to version 3.3 2023-04-19 23:50:03 +02:00
deejaybeam
2cf447f660 upd: remove trailing spaces 2023-04-19 23:37:01 +02:00
deejaybeam
b18f2848f4 fix: visual feedback for stateless entities 2023-04-19 23:30:46 +02:00
Edward Firmo
a1d1bac49f Removing unnecessary blank spaces 2023-04-19 18:03:16 +02:00
Edward Firmo
37cda13162 Breaking down long lines to make it more readable 2023-04-19 17:53:10 +02:00
Edward Firmo
1a1b190e5e Breaking down long lines to make it more readable 2023-04-19 17:45:05 +02:00
Edward Firmo
633f58d074 forbid-duplicated-anchors 2023-04-19 17:31:20 +02:00
Edward Firmo
624fd832e3 Fix inputs based on #692
Fixes items 1 & 2 of #692
2023-04-19 14:02:06 +02:00
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
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