diff --git a/tests/components/growatt_solar/test.esp32-c3-idf.yaml b/tests/components/growatt_solar/test.esp32-c3-idf.yaml
index 3b5e2e4ce4..7e73897856 100644
--- a/tests/components/growatt_solar/test.esp32-c3-idf.yaml
+++ b/tests/components/growatt_solar/test.esp32-c3-idf.yaml
@@ -15,39 +15,39 @@ sensor:
       name: Growatt Status Code
     phase_a:
       voltage:
-          name: Growatt Voltage Phase A
+        name: Growatt Voltage Phase A
       current:
-          name: Growatt Current Phase A
+        name: Growatt Current Phase A
       active_power:
-          name: Growatt Power Phase A
+        name: Growatt Power Phase A
     phase_b:
       voltage:
-          name: Growatt Voltage Phase B
+        name: Growatt Voltage Phase B
       current:
-          name: Growatt Current Phase B
+        name: Growatt Current Phase B
       active_power:
-          name: Growatt Power Phase B
+        name: Growatt Power Phase B
     phase_c:
       voltage:
-          name: Growatt Voltage Phase C
+        name: Growatt Voltage Phase C
       current:
-          name: Growatt Current Phase C
+        name: Growatt Current Phase C
       active_power:
-          name: Growatt Power Phase C
+        name: Growatt Power Phase C
     pv1:
       voltage:
-          name: Growatt PV1 Voltage
+        name: Growatt PV1 Voltage
       current:
-          name: Growatt PV1 Current
+        name: Growatt PV1 Current
       active_power:
-          name: Growatt PV1 Active Power
+        name: Growatt PV1 Active Power
     pv2:
       voltage:
-          name: Growatt PV2 Voltage
+        name: Growatt PV2 Voltage
       current:
-          name: Growatt PV2 Current
+        name: Growatt PV2 Current
       active_power:
-          name: Growatt PV2 Active Power
+        name: Growatt PV2 Active Power
     active_power:
       name: Growatt Grid Active Power
     pv_active_power:
diff --git a/tests/components/growatt_solar/test.esp32-c3.yaml b/tests/components/growatt_solar/test.esp32-c3.yaml
index 3b5e2e4ce4..7e73897856 100644
--- a/tests/components/growatt_solar/test.esp32-c3.yaml
+++ b/tests/components/growatt_solar/test.esp32-c3.yaml
@@ -15,39 +15,39 @@ sensor:
       name: Growatt Status Code
     phase_a:
       voltage:
-          name: Growatt Voltage Phase A
+        name: Growatt Voltage Phase A
       current:
-          name: Growatt Current Phase A
+        name: Growatt Current Phase A
       active_power:
-          name: Growatt Power Phase A
+        name: Growatt Power Phase A
     phase_b:
       voltage:
-          name: Growatt Voltage Phase B
+        name: Growatt Voltage Phase B
       current:
-          name: Growatt Current Phase B
+        name: Growatt Current Phase B
       active_power:
-          name: Growatt Power Phase B
+        name: Growatt Power Phase B
     phase_c:
       voltage:
-          name: Growatt Voltage Phase C
+        name: Growatt Voltage Phase C
       current:
-          name: Growatt Current Phase C
+        name: Growatt Current Phase C
       active_power:
-          name: Growatt Power Phase C
+        name: Growatt Power Phase C
     pv1:
       voltage:
-          name: Growatt PV1 Voltage
+        name: Growatt PV1 Voltage
       current:
-          name: Growatt PV1 Current
+        name: Growatt PV1 Current
       active_power:
-          name: Growatt PV1 Active Power
+        name: Growatt PV1 Active Power
     pv2:
       voltage:
-          name: Growatt PV2 Voltage
+        name: Growatt PV2 Voltage
       current:
-          name: Growatt PV2 Current
+        name: Growatt PV2 Current
       active_power:
-          name: Growatt PV2 Active Power
+        name: Growatt PV2 Active Power
     active_power:
       name: Growatt Grid Active Power
     pv_active_power:
diff --git a/tests/components/growatt_solar/test.esp32-idf.yaml b/tests/components/growatt_solar/test.esp32-idf.yaml
index a0670fdbd6..654f2ccedf 100644
--- a/tests/components/growatt_solar/test.esp32-idf.yaml
+++ b/tests/components/growatt_solar/test.esp32-idf.yaml
@@ -15,39 +15,39 @@ sensor:
       name: Growatt Status Code
     phase_a:
       voltage:
-          name: Growatt Voltage Phase A
+        name: Growatt Voltage Phase A
       current:
-          name: Growatt Current Phase A
+        name: Growatt Current Phase A
       active_power:
-          name: Growatt Power Phase A
+        name: Growatt Power Phase A
     phase_b:
       voltage:
-          name: Growatt Voltage Phase B
+        name: Growatt Voltage Phase B
       current:
-          name: Growatt Current Phase B
+        name: Growatt Current Phase B
       active_power:
-          name: Growatt Power Phase B
+        name: Growatt Power Phase B
     phase_c:
       voltage:
-          name: Growatt Voltage Phase C
+        name: Growatt Voltage Phase C
       current:
-          name: Growatt Current Phase C
+        name: Growatt Current Phase C
       active_power:
-          name: Growatt Power Phase C
+        name: Growatt Power Phase C
     pv1:
       voltage:
-          name: Growatt PV1 Voltage
+        name: Growatt PV1 Voltage
       current:
-          name: Growatt PV1 Current
+        name: Growatt PV1 Current
       active_power:
-          name: Growatt PV1 Active Power
+        name: Growatt PV1 Active Power
     pv2:
       voltage:
-          name: Growatt PV2 Voltage
+        name: Growatt PV2 Voltage
       current:
-          name: Growatt PV2 Current
+        name: Growatt PV2 Current
       active_power:
-          name: Growatt PV2 Active Power
+        name: Growatt PV2 Active Power
     active_power:
       name: Growatt Grid Active Power
     pv_active_power:
diff --git a/tests/components/growatt_solar/test.esp32.yaml b/tests/components/growatt_solar/test.esp32.yaml
index a0670fdbd6..654f2ccedf 100644
--- a/tests/components/growatt_solar/test.esp32.yaml
+++ b/tests/components/growatt_solar/test.esp32.yaml
@@ -15,39 +15,39 @@ sensor:
       name: Growatt Status Code
     phase_a:
       voltage:
-          name: Growatt Voltage Phase A
+        name: Growatt Voltage Phase A
       current:
-          name: Growatt Current Phase A
+        name: Growatt Current Phase A
       active_power:
-          name: Growatt Power Phase A
+        name: Growatt Power Phase A
     phase_b:
       voltage:
-          name: Growatt Voltage Phase B
+        name: Growatt Voltage Phase B
       current:
-          name: Growatt Current Phase B
+        name: Growatt Current Phase B
       active_power:
-          name: Growatt Power Phase B
+        name: Growatt Power Phase B
     phase_c:
       voltage:
-          name: Growatt Voltage Phase C
+        name: Growatt Voltage Phase C
       current:
-          name: Growatt Current Phase C
+        name: Growatt Current Phase C
       active_power:
-          name: Growatt Power Phase C
+        name: Growatt Power Phase C
     pv1:
       voltage:
-          name: Growatt PV1 Voltage
+        name: Growatt PV1 Voltage
       current:
-          name: Growatt PV1 Current
+        name: Growatt PV1 Current
       active_power:
-          name: Growatt PV1 Active Power
+        name: Growatt PV1 Active Power
     pv2:
       voltage:
-          name: Growatt PV2 Voltage
+        name: Growatt PV2 Voltage
       current:
-          name: Growatt PV2 Current
+        name: Growatt PV2 Current
       active_power:
-          name: Growatt PV2 Active Power
+        name: Growatt PV2 Active Power
     active_power:
       name: Growatt Grid Active Power
     pv_active_power:
diff --git a/tests/components/growatt_solar/test.esp8266.yaml b/tests/components/growatt_solar/test.esp8266.yaml
index fed27ffda1..a1cf8267ae 100644
--- a/tests/components/growatt_solar/test.esp8266.yaml
+++ b/tests/components/growatt_solar/test.esp8266.yaml
@@ -15,39 +15,39 @@ sensor:
       name: Growatt Status Code
     phase_a:
       voltage:
-          name: Growatt Voltage Phase A
+        name: Growatt Voltage Phase A
       current:
-          name: Growatt Current Phase A
+        name: Growatt Current Phase A
       active_power:
-          name: Growatt Power Phase A
+        name: Growatt Power Phase A
     phase_b:
       voltage:
-          name: Growatt Voltage Phase B
+        name: Growatt Voltage Phase B
       current:
-          name: Growatt Current Phase B
+        name: Growatt Current Phase B
       active_power:
-          name: Growatt Power Phase B
+        name: Growatt Power Phase B
     phase_c:
       voltage:
-          name: Growatt Voltage Phase C
+        name: Growatt Voltage Phase C
       current:
-          name: Growatt Current Phase C
+        name: Growatt Current Phase C
       active_power:
-          name: Growatt Power Phase C
+        name: Growatt Power Phase C
     pv1:
       voltage:
-          name: Growatt PV1 Voltage
+        name: Growatt PV1 Voltage
       current:
-          name: Growatt PV1 Current
+        name: Growatt PV1 Current
       active_power:
-          name: Growatt PV1 Active Power
+        name: Growatt PV1 Active Power
     pv2:
       voltage:
-          name: Growatt PV2 Voltage
+        name: Growatt PV2 Voltage
       current:
-          name: Growatt PV2 Current
+        name: Growatt PV2 Current
       active_power:
-          name: Growatt PV2 Active Power
+        name: Growatt PV2 Active Power
     active_power:
       name: Growatt Grid Active Power
     pv_active_power:
diff --git a/tests/components/growatt_solar/test.rp2040.yaml b/tests/components/growatt_solar/test.rp2040.yaml
index 3b5e2e4ce4..7e73897856 100644
--- a/tests/components/growatt_solar/test.rp2040.yaml
+++ b/tests/components/growatt_solar/test.rp2040.yaml
@@ -15,39 +15,39 @@ sensor:
       name: Growatt Status Code
     phase_a:
       voltage:
-          name: Growatt Voltage Phase A
+        name: Growatt Voltage Phase A
       current:
-          name: Growatt Current Phase A
+        name: Growatt Current Phase A
       active_power:
-          name: Growatt Power Phase A
+        name: Growatt Power Phase A
     phase_b:
       voltage:
-          name: Growatt Voltage Phase B
+        name: Growatt Voltage Phase B
       current:
-          name: Growatt Current Phase B
+        name: Growatt Current Phase B
       active_power:
-          name: Growatt Power Phase B
+        name: Growatt Power Phase B
     phase_c:
       voltage:
-          name: Growatt Voltage Phase C
+        name: Growatt Voltage Phase C
       current:
-          name: Growatt Current Phase C
+        name: Growatt Current Phase C
       active_power:
-          name: Growatt Power Phase C
+        name: Growatt Power Phase C
     pv1:
       voltage:
-          name: Growatt PV1 Voltage
+        name: Growatt PV1 Voltage
       current:
-          name: Growatt PV1 Current
+        name: Growatt PV1 Current
       active_power:
-          name: Growatt PV1 Active Power
+        name: Growatt PV1 Active Power
     pv2:
       voltage:
-          name: Growatt PV2 Voltage
+        name: Growatt PV2 Voltage
       current:
-          name: Growatt PV2 Current
+        name: Growatt PV2 Current
       active_power:
-          name: Growatt PV2 Active Power
+        name: Growatt PV2 Active Power
     active_power:
       name: Growatt Grid Active Power
     pv_active_power:
diff --git a/tests/components/key_collector/test.esp32-c3-idf.yaml b/tests/components/key_collector/test.esp32-c3-idf.yaml
index a186d4fa23..1f133c5cd8 100644
--- a/tests/components/key_collector/test.esp32-c3-idf.yaml
+++ b/tests/components/key_collector/test.esp32-c3-idf.yaml
@@ -17,12 +17,12 @@ key_collector:
     on_progress:
       - logger.log:
           format: "input progress: '%s', started by '%c'"
-          args: [ 'x.c_str()', "(start == 0 ? '~' : start)" ]
+          args: ['x.c_str()', "(start == 0 ? '~' : start)"]
     on_result:
       - logger.log:
           format: "input result: '%s', started by '%c', ended by '%c'"
-          args: [ 'x.c_str()', "(start == 0 ? '~' : start)", "(end == 0 ? '~' : end)" ]
+          args: ['x.c_str()', "(start == 0 ? '~' : start)", "(end == 0 ? '~' : end)"]
     on_timeout:
       - logger.log:
           format: "input timeout: '%s', started by '%c'"
-          args: [ 'x.c_str()', "(start == 0 ? '~' : start)" ]
+          args: ['x.c_str()', "(start == 0 ? '~' : start)"]
diff --git a/tests/components/key_collector/test.esp32-c3.yaml b/tests/components/key_collector/test.esp32-c3.yaml
index a186d4fa23..1f133c5cd8 100644
--- a/tests/components/key_collector/test.esp32-c3.yaml
+++ b/tests/components/key_collector/test.esp32-c3.yaml
@@ -17,12 +17,12 @@ key_collector:
     on_progress:
       - logger.log:
           format: "input progress: '%s', started by '%c'"
-          args: [ 'x.c_str()', "(start == 0 ? '~' : start)" ]
+          args: ['x.c_str()', "(start == 0 ? '~' : start)"]
     on_result:
       - logger.log:
           format: "input result: '%s', started by '%c', ended by '%c'"
-          args: [ 'x.c_str()', "(start == 0 ? '~' : start)", "(end == 0 ? '~' : end)" ]
+          args: ['x.c_str()', "(start == 0 ? '~' : start)", "(end == 0 ? '~' : end)"]
     on_timeout:
       - logger.log:
           format: "input timeout: '%s', started by '%c'"
-          args: [ 'x.c_str()', "(start == 0 ? '~' : start)" ]
+          args: ['x.c_str()', "(start == 0 ? '~' : start)"]
diff --git a/tests/components/key_collector/test.esp32-idf.yaml b/tests/components/key_collector/test.esp32-idf.yaml
index d357b33279..7cbe9c0fc1 100644
--- a/tests/components/key_collector/test.esp32-idf.yaml
+++ b/tests/components/key_collector/test.esp32-idf.yaml
@@ -17,12 +17,12 @@ key_collector:
     on_progress:
       - logger.log:
           format: "input progress: '%s', started by '%c'"
-          args: [ 'x.c_str()', "(start == 0 ? '~' : start)" ]
+          args: ['x.c_str()', "(start == 0 ? '~' : start)"]
     on_result:
       - logger.log:
           format: "input result: '%s', started by '%c', ended by '%c'"
-          args: [ 'x.c_str()', "(start == 0 ? '~' : start)", "(end == 0 ? '~' : end)" ]
+          args: ['x.c_str()', "(start == 0 ? '~' : start)", "(end == 0 ? '~' : end)"]
     on_timeout:
       - logger.log:
           format: "input timeout: '%s', started by '%c'"
-          args: [ 'x.c_str()', "(start == 0 ? '~' : start)" ]
+          args: ['x.c_str()', "(start == 0 ? '~' : start)"]
diff --git a/tests/components/key_collector/test.esp32.yaml b/tests/components/key_collector/test.esp32.yaml
index d357b33279..7cbe9c0fc1 100644
--- a/tests/components/key_collector/test.esp32.yaml
+++ b/tests/components/key_collector/test.esp32.yaml
@@ -17,12 +17,12 @@ key_collector:
     on_progress:
       - logger.log:
           format: "input progress: '%s', started by '%c'"
-          args: [ 'x.c_str()', "(start == 0 ? '~' : start)" ]
+          args: ['x.c_str()', "(start == 0 ? '~' : start)"]
     on_result:
       - logger.log:
           format: "input result: '%s', started by '%c', ended by '%c'"
-          args: [ 'x.c_str()', "(start == 0 ? '~' : start)", "(end == 0 ? '~' : end)" ]
+          args: ['x.c_str()', "(start == 0 ? '~' : start)", "(end == 0 ? '~' : end)"]
     on_timeout:
       - logger.log:
           format: "input timeout: '%s', started by '%c'"
-          args: [ 'x.c_str()', "(start == 0 ? '~' : start)" ]
+          args: ['x.c_str()', "(start == 0 ? '~' : start)"]
diff --git a/tests/components/key_collector/test.esp8266.yaml b/tests/components/key_collector/test.esp8266.yaml
index d357b33279..7cbe9c0fc1 100644
--- a/tests/components/key_collector/test.esp8266.yaml
+++ b/tests/components/key_collector/test.esp8266.yaml
@@ -17,12 +17,12 @@ key_collector:
     on_progress:
       - logger.log:
           format: "input progress: '%s', started by '%c'"
-          args: [ 'x.c_str()', "(start == 0 ? '~' : start)" ]
+          args: ['x.c_str()', "(start == 0 ? '~' : start)"]
     on_result:
       - logger.log:
           format: "input result: '%s', started by '%c', ended by '%c'"
-          args: [ 'x.c_str()', "(start == 0 ? '~' : start)", "(end == 0 ? '~' : end)" ]
+          args: ['x.c_str()', "(start == 0 ? '~' : start)", "(end == 0 ? '~' : end)"]
     on_timeout:
       - logger.log:
           format: "input timeout: '%s', started by '%c'"
-          args: [ 'x.c_str()', "(start == 0 ? '~' : start)" ]
+          args: ['x.c_str()', "(start == 0 ? '~' : start)"]
diff --git a/tests/components/key_collector/test.rp2040.yaml b/tests/components/key_collector/test.rp2040.yaml
index a186d4fa23..1f133c5cd8 100644
--- a/tests/components/key_collector/test.rp2040.yaml
+++ b/tests/components/key_collector/test.rp2040.yaml
@@ -17,12 +17,12 @@ key_collector:
     on_progress:
       - logger.log:
           format: "input progress: '%s', started by '%c'"
-          args: [ 'x.c_str()', "(start == 0 ? '~' : start)" ]
+          args: ['x.c_str()', "(start == 0 ? '~' : start)"]
     on_result:
       - logger.log:
           format: "input result: '%s', started by '%c', ended by '%c'"
-          args: [ 'x.c_str()', "(start == 0 ? '~' : start)", "(end == 0 ? '~' : end)" ]
+          args: ['x.c_str()', "(start == 0 ? '~' : start)", "(end == 0 ? '~' : end)"]
     on_timeout:
       - logger.log:
           format: "input timeout: '%s', started by '%c'"
-          args: [ 'x.c_str()', "(start == 0 ? '~' : start)" ]
+          args: ['x.c_str()', "(start == 0 ? '~' : start)"]