No dictionary error in light integration

Logger: homeassistant.config
Source: config.py:443
First occurred: 7:11:50 PM (1 occurrences)
Last logged: 7:11:50 PM

Invalid config for [light]: expected a dictionary. Got None. (See ?, line ?). Please check the docs at Light - Home Assistant

# Configure a default setup of Home Assistant (frontend, api, etc)

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

homeassistant:
  customize: !include customize.yaml

#recorder:
  #purge_keep_days: 3
  #commit_interval: 60
  
recorder:
  db_url: 'sqlite:///:memory:'
  
# Example configuration.yaml entry
google:
  client_id: ***********q6oqqsv8c18nsi7a967aiglb8.apps.googleusercontent.com
  client_secret: ***************Preformatted text

frontend:
  themes: !include_dir_merge_named themes

default_config:


#resources:
 # - url: /hacsfiles/button-card/button-card.js
  #  type: module


logger:
  default: warning
  logs:
    homeassistant.components.webhook: debug

weather:
  - platform: environment_canada
    name: environment_canada_daily  
    forecast: daily
  #- station: BC/s0000496
  

# Text to speech
tts:
  - platform: google_translate

http:
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem
  
  
skybell:
  username: *******@gmail.com
  password: ******
  
binary_sensor:
  - platform: skybell
    monitored_conditions:
      - button
      - motion
      
#ffmpeg:
 # ffmpeg_bin: /usr/bin/ffmpeg
      
camera:
  - platform: skybell
    monitored_conditions:
    - activity
    
  
sensor:
  - platform: skybell
    monitored_conditions:
    
    
  
switch:
  - platform: skybell
    monitored_conditions:
      - do_not_disturb
      - motion_sensor
      
  - platform: mqtt
    name: "winktop"
    state_topic: "wink/relays/0/state"
    command_topic: "wink/relays/0"
    payload_on: "ON"
    payload_off: "OFF"
    state_on: "ON"
    state_off: "OFF"
    
  - platform: mqtt
    name: "winkbottom"
    state_topic: "wink/relays/1/state"
    command_topic: "wink/relays/1"
    payload_on: "ON"
    payload_off: "OFF"
    state_on: "ON"
    state_off: "OFF"
    

light:

 - platform: switch
   name: Master Closet lamp
   entity_id: switch.master_closet_lamp 
   
 - platform: switch  
   name: Master Closet Light
   entity_id: switch.master_closet_light
   
 - platform: switch  
   name: Office Lamp
   entity_id: switch.office_lamp
   
 - platform: switch  
   name: Shop Bench Light
   entity_id: switch.shop_bench_light
   
 - platform: switch  
   name: Shop Light
   entity_id: switch.shop_light
   
 - platform: switch  
   name: Tricias Bedroom Lamp 
   entity_id: switch.tricia_s_bedroom_lamp
   
 - platform: switch  
   name: Upstairs Bathroom Shower Light
   entity_id: switch.upstairs_bathroom_shower_light
   
 - platform: switch  
   name: Hallway Light
   entity_id: switch.hallway_light
   
 - platform: switch  
   name: Back Deck BBQ Light
   entity_id: switch.back_deck_barbeque_lights
   
 - platform: switch  
   name: Back Deck Master Bedroom Light
   entity_id: switch.back_deck_master_bedroom_lights
   
 - platform: switch  
   name: Back Deck Tree
   entity_id: switch.back_deck_tree 
   
 - platform: switch  
   name: Back Deck Uplights 
   entity_id: switch.backdeck_up_lights
   
 - platform: switch  
   name: Christmes Presents Entry
   entity_id: switch.christmas_presents_entry
   
 - platform: switch  
   name: Christmas Tree
   entity_id: switch.christmas_tree
   
 - platform: switch  
   name: Craigs Bedroom Lamp
   entity_id: switch.craig_s_bedroom_lamp
   
 - platform: switch  
   name: Dining Room Light
   entity_id: switch.dining_room
   
 - platform: switch  
   name: Dining Room Alcove
   entity_id: switch.dining_room_alcove_light_z
   
 - platform: switch  
   name: Downstairs Hall Light
   entity_id: switch.downstairs_hall_light
   
 - platform: switch  
   name: Front Up/Down Lights
   entity_id: switch.front_up_down_lights
   
 - platform: switch  
   name: Front Uplight
   entity_id: switch.front_uplight_switch
   
 - platform: switch  
   name: Garage Light
   entity_id: switch.garage_light
   
 - platform: switch  
   name: Garage Light 2
   entity_id: switch.garage_light_2
   
 - platform: switch  
   name: Garage Light 1
   entity_id: switch.garage_light_1
   
 - platform: switch  
   name: Kitchen Counter Lights
   entity_id: switch.kitchen_counter_lights_on_off

 - platform: switch  
   name: Kitchen Stove  Light
   entity_id: switch.kitchen_stove_light_2
   
 - platform: switch  
   name: Living Room Alcove Lights
   entity_id: switch.living_room_alcove_lights
   
 - #platform: switch  
   #name: Living Room Uplights
   #entity_id: 
   

tplink:
  discovery: false
  switch:
    - host: 10.0.0.95
    - host: 10.0.0.53
    - host: 10.0.0.136
    - host: 10.0.0.235
    - host: 10.0.0.142
    - host: 10.0.0.213
    - host: 10.0.0.237
    - host: 10.0.0.87
    - host: 10.0.0.185
    #- host: 10.0.0.163 old kitchen counter lights switch replaced with zigbee switch
    
zha:
  zigpy_config:
    ota:
      ikea_provider: true                        # Auto update Trådfri devices
      ledvance_provider: true                    # Auto update LEDVANCE devices
      #otau_directory: /path/to/your/ota/folder  # Utilize .ota files to update everything else
 
# Example configuration.yaml entry for the Telegram Bot
#telegram_bot:
  #- platform: polling
    #api_key: 1773802541:AAE-JashvMj_g90Ja_pge1GRaxzHJXjyTbs
    #allowed_chat_ids:
      #- 175553060 # example: 123456789 for the chat_id of a user
      #- CHAT_ID_2 # example: -987654321 for the chat_id of a group
      #- CHAT_ID_3

# Example configuration.yaml entry for the notifier
#notify:
  #- platform: telegram
    #name: Craig
    #chat_id: 175553060

  # It is possible to add multiple notifiers by using another chat_id
  # the example belows shows an additional notifier which sends messages to the bot which is added to a group
  #- platform: telegram
  #  name: NOTIFIER_NAME_OF_GROUP
  #  chat_id: CHAT_ID_2
    

type or paste code here

The dash is outside the comment:

 - #platform: switch  
   #name: Living Room Uplights
   #entity_id: 

Should be:

   # - platform: switch  
   #name: Living Room Uplights
   #entity_id: 

You Rock!!!
I looked over that file 50 times I think my eyes just skipped over the commented out things.

Craig