Another missed comma between flow collection entries

Help!

I am trying to define a static array variable and thought it will go within config.yaml file
adding the below at the end of the file, the editor complains of ‘missed comma between flow collection entries YAML’

Actually I need it be available within a lovelace card, and perhaps this code’s place is not in configuration.yaml

{% set test_var = ['00','01','11','10'] %}

Some similar questions gravitated toward a stray tab character within the rest of the file or other formatting issues.

Any suggestion I can try?

Thanks

Could you explain the objective and maybe post the rest of the code related to this question?

In real world, I am trying to create some sensor groups like in the code below, but I exemplified and replicated the same error with my simple example: {% set test_var = [‘00’,‘01’,‘11’,‘10’] %}

Below is the code originally tried to use, from here:
https://synapselabs.io/posts/integrating-your-tesla-with-home-assistant/

{% set sensors = [
  ('binary_sensor.tesla_model_3_online_sensor', False),
  ('binary_sensor.tesla_model_3_parking_brake_sensor', True),
  ('climate.tesla_model_3_hvac_climate_system', False),
  ('device_tracker.tesla_model_3_location_tracker', False),
  ('sensor.tesla_model_3_mileage_sensor', False)
]
%}
{% set lock_sensors = [
  ('Charger door', 'lock.tesla_model_3_charger_door_lock'),
  ('Doors', 'lock.tesla_model_3_door_lock'),
  ('Frunk', 'lock.tesla_model_3_frunk_lock'),
  ('Trunk','lock.tesla_model_3_trunk_lock')
]
%}
{% set battery_sensors = [
  ('Battery', 'sensor.tesla_model_3_battery_sensor'),
  ('Charging', 'binary_sensor.tesla_model_3_charger_sensor'),
  ('Range', 'sensor.tesla_model_3_range_sensor')
]
%}
{% set temp_sensors = [
  ('Inside', 'sensor.tesla_model_3_temperature_sensor_inside'),
  ('Outside' ,'sensor.tesla_model_3_temperature_sensor_outside')
] 
%}

These would normally be seen as part of a template sensor, not standalone.
So you would be using the configured variables within the same sensor.