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
This commit is contained in:
Edward Firmo
2023-09-03 11:47:00 +02:00
parent 6c7afe5bfe
commit 41c3b01769
13 changed files with 170 additions and 96 deletions

View File

@@ -156,7 +156,7 @@ Text page_label
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 30
Max. Text Size : 100
Text current_icon
Attributes
@@ -369,6 +369,15 @@ Slider climateslider
Lower range limit: 0
Events
Touch Press Event
climatesetting.txt="{\"page\": \"climate\", \"component\": \"touchevent\", \"value\": \"press\", \"entity\": \""+home.entity.txt+"\"}"
printh 92
prints "touchevent",0
printh 00
prints climatesetting.txt,0
printh 00
printh FF FF FF
Touch Release Event
temp_number.val=climateslider.val*temp_step.val
temp_number.val+=temp_offset.val
@@ -378,6 +387,13 @@ Slider climateslider
covx va0.val,va1.txt,0,0
target_temp.txt+="."+va1.txt
timer01.en=1
climatesetting.txt="{\"page\": \"climate\", \"component\": \"touchevent\", \"value\": \"release\", \"entity\": \""+home.entity.txt+"\"}"
printh 92
prints "touchevent",0
printh 00
prints climatesetting.txt,0
printh 00
printh FF FF FF
Button button_back
Attributes