Media Player control

You will be able to add a Media Player entity to any of the buttons pages and with a long press you will see the media player page.
This commit is contained in:
Edward Firmo
2023-09-12 20:06:58 +02:00
parent 39a5fcf434
commit 81d16343a7
13 changed files with 390 additions and 151 deletions

View File

@@ -55,11 +55,6 @@ climate:
###### All the code bellow this point is shared between addon_climate_cool and addon_climate_heat #####
globals:
##### Is embedded thermostat set as main climate entity? #####
- id: is_embedded_thermostat
type: bool
restore_value: true
initial_value: 'false'
##### Is embedded thermostat visible on climate page? #####
- id: is_addon_climate_visible
type: bool
@@ -113,14 +108,6 @@ script:
id(is_addon_climate_visible) = embedded_climate;
ESP_LOGV("script.addon_climate_set_climate", "Finished");
- id: !extend addon_climate_global_settings
then:
- lambda: |-
ESP_LOGV("script.addon_climate_global_settings", "Starting");
ESP_LOGV("script.addon_climate_global_settings", "embedded_climate: %i", (embedded_climate) ? 1 : 0);
id(is_embedded_thermostat) = embedded_climate;
ESP_LOGV("script.addon_climate_global_settings", "Finished");
- id: !extend addon_climate_update_page_climate
then:
- lambda: |-