#NEWLINE# def setup_platform( hass , config , add_devices_callback , discovery_info = None ) : #NEWLINE# #INDENT# 'Setup the LIFX platform.' #NEWLINE# server_addr = config . get ( CONF_SERVER , None ) #NEWLINE# broadcast_addr = config . get ( CONF_BROADCAST , None ) #NEWLINE# lifx_library = LIFX ( discovery_info , server_addr , broadcast_addr ) #NEWLINE# track_time_change ( hass , lifx_library . poll , second = [ 10 , 40 ] ) #NEWLINE# lifx_library . probe ( )