diff --git a/esphome/config_validation.py b/esphome/config_validation.py index f8a2e87f00..fb5586b1e1 100644 --- a/esphome/config_validation.py +++ b/esphome/config_validation.py @@ -1635,8 +1635,7 @@ class GenerateID(Optional): def _get_default_key(*args): - key = [CORE.target_platform] - key.extend(args) + key = [CORE.target_platform] + list(args) return ["_".join(key)]