diff --git a/nspanel_esphome.yaml b/nspanel_esphome.yaml index eadc9f0..837c902 100644 --- a/nspanel_esphome.yaml +++ b/nspanel_esphome.yaml @@ -682,12 +682,12 @@ api: id(disp1).set_component_value("is_muted", (is_volume_muted) ? 1 : 0); if (supported_features & 8 and is_volume_muted) // unmute { - id(disp1).set_component_text_printf("bt_mute", "%s", "\uE57E"); // mdi:volume-low + id(disp1).set_component_text_printf("bt_mute", "%s", "\uEE07"); // mdi:volume-variant-off id(disp1).show_component("bt_mute"); } else if (supported_features & 8) // mute { - id(disp1).set_component_text_printf("bt_mute", "%s", "\uEE07"); // mdi:volume-variant-off + id(disp1).set_component_text_printf("bt_mute", "%s", "\uE57E"); // mdi:volume-low id(disp1).show_component("bt_mute"); } else id(disp1).hide_component("bt_mute"); @@ -1620,7 +1620,9 @@ number: icon: mdi:timer unit_of_measurement: "s" set_action: - - lambda: id(timer_sleep).execute(id(current_page).state.c_str(), int(x)); + - lambda: |- + id(timer_dim).execute(id(current_page).state.c_str(), int(id(timeout_dim).state)); + id(timer_sleep).execute(id(current_page).state.c_str(), int(x)); ##### START - SELECT CONFIGURATION ##### select: @@ -1739,7 +1741,8 @@ script: timeout: int then: - lambda: |- - ESP_LOGV("script.timer_dim", "Reset timer: %is", timeout); + ESP_LOGD("script.timer_dim", "Reset timer: %is", timeout); + ESP_LOGD("script.timer_dim", "Is dim? %i", id(is_dim_brightness) ? 1 : 0); if (id(is_dim_brightness)) { if (page != "screensaver" and page != "boot") diff --git a/nspanel_eu.HMI b/nspanel_eu.HMI index 9dcbf03..110ced5 100644 Binary files a/nspanel_eu.HMI and b/nspanel_eu.HMI differ diff --git a/nspanel_eu.tft b/nspanel_eu.tft index b2bb25e..65b8771 100644 Binary files a/nspanel_eu.tft and b/nspanel_eu.tft differ diff --git a/nspanel_eu_code/media_player.txt b/nspanel_eu_code/media_player.txt index f1fb7c5..af5093a 100644 --- a/nspanel_eu_code/media_player.txt +++ b/nspanel_eu_code/media_player.txt @@ -223,7 +223,7 @@ Text bt_mute printh FF FF FF Touch Release Event - if(is_muted.val==1) + if(is_muted.val==0) { va0.txt="true" }else diff --git a/nspanel_us.HMI b/nspanel_us.HMI index 79e7366..90f3b48 100644 Binary files a/nspanel_us.HMI and b/nspanel_us.HMI differ diff --git a/nspanel_us.tft b/nspanel_us.tft index 6a74f17..af6b099 100644 Binary files a/nspanel_us.tft and b/nspanel_us.tft differ diff --git a/nspanel_us_code/media_player.txt b/nspanel_us_code/media_player.txt index 22ac87a..b736e76 100644 --- a/nspanel_us_code/media_player.txt +++ b/nspanel_us_code/media_player.txt @@ -223,7 +223,7 @@ Text bt_mute printh FF FF FF Touch Release Event - if(is_muted.val==1) + if(is_muted.val==0) { va0.txt="true" }else diff --git a/nspanel_us_land.HMI b/nspanel_us_land.HMI index 59fd15f..8ca19c6 100644 Binary files a/nspanel_us_land.HMI and b/nspanel_us_land.HMI differ diff --git a/nspanel_us_land.tft b/nspanel_us_land.tft index 7646b7f..6344453 100644 Binary files a/nspanel_us_land.tft and b/nspanel_us_land.tft differ diff --git a/nspanel_us_land_code/media_player.txt b/nspanel_us_land_code/media_player.txt index f1fb7c5..af5093a 100644 --- a/nspanel_us_land_code/media_player.txt +++ b/nspanel_us_land_code/media_player.txt @@ -223,7 +223,7 @@ Text bt_mute printh FF FF FF Touch Release Event - if(is_muted.val==1) + if(is_muted.val==0) { va0.txt="true" }else