Move brightness control to global var

Clean up page Home
This commit is contained in:
Edward Firmo
2023-08-30 15:08:28 +02:00
parent f29eeda845
commit 4748739155
79 changed files with 228 additions and 261 deletions

View File

@@ -12,7 +12,7 @@ Page climate
Events
Preinitialize Event
dim=home.brightness.val
dim=brightness
if(api==1||home.entity.txt=="embedded_climate")
{
climatesetting.txt="{\"page\": \"climate\", \"component\": \"currentpage\", \"value\": \"pagechange\", \"entity\": \""+home.entity.txt+"\"}"