Embedded climate (#917)
* Performance improvements The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome. - Service calls moved to ESPHome (in preparation for Alarm Control Panel) - Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future) * Draft embedded climate This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out. Solves #646 Solves #263 * Update ReleaseNotes.md * Fix climate slider Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature * Moving home page to ESPHome In progress... * Fix translations - Dutch * Embedded chip 3 Home page - Chip 3 will be controlled locally when embedded climate is enable. * Fixed buttons bar Fixed buttons bar managed on ESPHome when embedded climate is visible.
This commit is contained in:
@@ -141,9 +141,9 @@ Slider coverslider
|
||||
Touch Release Event
|
||||
covx coverslider.val,va1.txt,0,0
|
||||
cover_value.txt=va1.txt+"%"
|
||||
coversetting.txt="{\"page\": \"cover\", \"component\": \"cover_position\", \"value\": "+va1.txt+", \"entity\": \""+home.entity.txt+"\"}"
|
||||
coversetting.txt="{\"domain\": \"cover\", \"key\": \"position\", \"value\": "+va1.txt+", \"entity\": \""+home.entity.txt+"\"}"
|
||||
printh 92
|
||||
prints "nspanelevent",0
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints coversetting.txt,0
|
||||
printh 00
|
||||
@@ -161,9 +161,9 @@ Button cover_open
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
coversetting.txt="{\"page\": \"cover\", \"component\": \"open_cover\", \"value\": \"press\", \"entity\": \""+home.entity.txt+"\"}"
|
||||
coversetting.txt="{\"domain\": \"cover\", \"key\": \"open_cover\", \"value\": \"press\", \"entity\": \""+home.entity.txt+"\"}"
|
||||
printh 92
|
||||
prints "nspanelevent",0
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints coversetting.txt,0
|
||||
printh 00
|
||||
@@ -181,9 +181,9 @@ Button cover_close
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
coversetting.txt="{\"page\": \"cover\", \"component\": \"close_cover\", \"value\": \"press\", \"entity\": \""+home.entity.txt+"\"}"
|
||||
coversetting.txt="{\"domain\": \"cover\", \"key\": \"close_cover\", \"value\": \"press\", \"entity\": \""+home.entity.txt+"\"}"
|
||||
printh 92
|
||||
prints "nspanelevent",0
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints coversetting.txt,0
|
||||
printh 00
|
||||
@@ -201,9 +201,9 @@ Button cover_stop
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
coversetting.txt="{\"page\": \"cover\", \"component\": \"stop_cover\", \"value\": \"press\", \"entity\": \""+home.entity.txt+"\"}"
|
||||
coversetting.txt="{\"domain\": \"cover\", \"key\": \"stop_cover\", \"value\": \"press\", \"entity\": \""+home.entity.txt+"\"}"
|
||||
printh 92
|
||||
prints "nspanelevent",0
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints coversetting.txt,0
|
||||
printh 00
|
||||
|
||||
Reference in New Issue
Block a user