Fix custom buttons for domains other than lights

Solves #2080
Solves #2081
This commit is contained in:
Edward Firmo
2024-04-25 06:52:53 +02:00
parent c9338404ba
commit c37d2695a7
20 changed files with 45 additions and 34 deletions

View File

@@ -17,7 +17,7 @@ substitutions:
invalid_cooldown: "100ms"
bytes_per_char: "1"
##### DON'T CHANGE THIS ######
version: "4.3.5"
version: "4.3.6"
##############################
##### External components #####
@@ -27,7 +27,7 @@ external_components:
# path: packages/Blackymas/components
type: git
url: https://github.com/Blackymas/NSPanel_HA_Blueprint
ref: v4.3.5
ref: v4.3.6
components:
- nspanel_ha_blueprint
refresh: 300s
@@ -2380,7 +2380,6 @@ script:
command: string
then:
- lambda: |-
if (id(is_uploading_tft)) ha_button->stop();
timer_reset_all->execute();
esphome::api::CustomAPIDevice ha_event;
ha_event.fire_homeassistant_event("esphome.nspanel_ha_blueprint",