Conversation
…bles All installation-specific sensor/actuator entity IDs and room configuration have been moved from include/ files to substitution variables in main.yaml and dev-sdl.yaml. The original values from the author's HA installation are now only present in example-instance.yaml. Changes: - main.yaml, dev-sdl.yaml: add room1-4, temp_setting1-2, scene1-2 substitution variables with generic placeholder defaults - include/sensors.yaml: use substitution vars for all 4 rooms, 2 temp settings, and temperature target entity IDs - include/sensors_temperature_target.yaml: use substitution vars for sensor ESPHome IDs and room label IDs - include/lvgl_tab_covers.yaml: use substitution vars for room IDs, names, and cover entity IDs - include/lvgl_tab_rooms.yaml: use substitution vars for room IDs and names - include/lvgl_tab_heating_details.yaml: use substitution vars for room IDs and names - include/lvgl_tab_heating_set_temp.yaml: use substitution vars for temp setting IDs, labels, icons, and HA sensor entity IDs - include/lvgl_tab_scenes.yaml: use substitution vars for scene entity IDs and display names - example-instance.yaml: add all installation-specific values as substitution overrides Agent-Logs-Url: https://github.com/f18m/esphome-ha-interface-panel/sessions/d770f896-6853-47ae-94be-5a7206da98c3 Co-authored-by: f18m <9748595+f18m@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
f18m
April 30, 2026 09:39
View session
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The package had Italian-installation-specific HA entity IDs hardcoded throughout
include/, making it impossible to reuse without forking. All sensor/actuator entity IDs, room identifiers, display names, and scene references are now substitution variables.New substitution variables (
main.yaml/dev-sdl.yaml)room{N}_id,room{N}_name,room{N}_ha_temperature_sensor,room{N}_ha_humidity_sensor,room{N}_ha_window_contact_sensor,room{N}_ha_floor_heating_switch,room{N}_ha_covertemp_setting{N}_id,temp_setting{N}_label,temp_setting{N}_icon,temp_setting{N}_ha_sensorha_temperature_target_sensorscene{N}_entity_id,scene{N}_nameGeneric placeholders are the defaults; real values belong only in consumer configs.
include/changessensors.yaml— room sensor packages + temp setting + target sensor now reference substitution vars via quoted"${...}"in flow-mappingvarsblockssensors_temperature_target.yaml— internal ESPHome IDs (sensor_temp_${temp_setting1_id}) and LVGL label IDs (lbl_target_temp_heating_${room{N}_id}) use substitution varslvgl_tab_rooms.yaml,lvgl_tab_heating_details.yaml,lvgl_tab_covers.yaml— room boxes rendered in consistentroom1→room4order using substitution varslvgl_tab_heating_set_temp.yaml— temp setting IDs, labels, icons, and HA input_number entity IDs via substitution varslvgl_tab_scenes.yaml— scene entity IDs and button labels via substitution varsexample-instance.yamlAll original Italian-installation entity IDs moved here as
varsoverrides: