Trying to add a switch, but log shows mapping values are not allowed here

Hi,

Hi, I added a switch for playstation 4 like this link

And I tail log it shows
17-03-31 12:10:05 ERROR (Thread-1) [homeassistant.util.yaml] mapping values are not allowed here
in “/home/homeassistant/.homeassistant/configuration.yaml”, line 54, column 17
Here is my yaml

Track the sun
sun:
switch :
platform: command_line
playstation4:
command_on: ‘ps4-waker’
command_off: ‘ps4-waker standby’
command_state: ‘telnet playstation4 9295 | grep “Connected” > nul && (echo “true”) || (echo “false”)’
value_template: ‘{{ value }}’
friendly_name: “Playstation 4”
switch 2:
platform: broadlink
host: 192.168.0.117
mac: ‘34:EA:34:E3:95:36’
timeout: 15
switches:
Will work on most LG tvs
tv_lg:
friendly_name: “LG Tv Power”
command_on: ‘JgBYAAABIJISExETETcSEhISEhQQFBETETcROBESEjcRNhM1EjcTNRMTERISNxEUERMSExE2EjYSNhM2EhIROBE3ETcREhITEgAFGwABH0oSAAwzAAEfShEADQU=’
command_off: ‘JgBYAAABJ5YSExIUETgTExAVEhMSExEUEjgTNxITEjgRORE5ETkROREUExMQFBE5EhMRFQ8VEhMRORE5EjgSExE5EjgSOBM3EwAFLgABKEsRAAxoAAEnTBEADQU=’
fan:
friendly_name: “Fan”
command_on: ‘JgBYAAABKZEUERU2FTUWDhQRFRAVEBU0FTMVNxUPFTQWDxU1FDUVEBQ0FREVDxUQFBEVEBUPFRAUERU0FTUVNBU1FDUVNRI3FAAFDgABKUcUAAw9AAEpRxUADQU=’
command_off: ‘JgBYAAABKZEUERU2FTUWDhQRFRAVEBU0FTMVNxUPFTQWDxU1FDUVEBQ0FREVDxUQFBEVEBUPFRAUERU0FTUVNBU1FDUVNRI3FAAFDgABKUcUAAw9AAEpRxUADQU=’
appletv:
friendly_name: “Apple TV”
command_on: ‘JgBQAAABKJMTEhI3EzYSNxMREzYTNhI3EzYSNxM2ExISEhQREhMTNhMSEjcTERQRExITEhITExETEhI3ExISExI3ExEUERITFAAFeAABKUgUAA0FAAAAAAAAAAA=’
command_off: ‘JgBQAAABKJMTEhI3EzYSNxMREzYTNhI3EzYSNxM2ExISEhQREhMTNhMSEjcTERQRExITEhITExETEhI3ExISExI3ExEUERITFAAFeAABKUgUAA0FAAAAAAAAAAA=’
light:
friendly_name: “Light”
command_on: 'sgCKAAsbDBoMChwaDBsLGwwKGwodGgwbCxsLGwwKHAocGwsbCxsMxhwbCxsMCRwcCwocChwbCxsMGgwJHRsLGwsbDAkdCR0aDBsLGwsbDAobCxwaDBsLGwvHHBsLGwsKHBsLCh0KHBoMGwsbDAocGwwaDBsLCh0KHBsMGgwbCxsMChwKHR$
command_off: 'sgDSAAwKHRsLGwvHHBsMGwsKHBsMChwKHRsLGwwaDAocGwwbCxsMChwKHRoMGwwaDBsLCh0bCwodGgwbDMYdGgwbCwodGgwKHQkdGwsbDBoMCh0bCxsMGgwKHAodGwsbCxsMGwsKHRsLCh0aDBsMxhwbDBsLCh0aDAocCh0aDBsMGwsKH$
Weather Prediction
sensor:
platform: yr

somewhere is wrong please tell me, thank you so much

Please read the blue box on every page here and use code blocks for pasting your yaml.
It’s impossible to see what’s wrong in your configuration.