#NEWLINE# def setup_platform( hass , config , add_devices , discovery_info = None ) : #NEWLINE# #INDENT# 'Setup the Twitch platform.' #NEWLINE# add_devices ( [ TwitchSensor ( config ) for channel in config . get ( 'channels' , [ ] ) ] )