def setup_button(hass, config, add_entities, client, address):
 timeout = config.get(CONF_TIMEOUT)
 ignored_click_types = config.get(CONF_IGNORED_CLICK_TYPES)
 button = FlicButton(hass, client, address, timeout, ignored_click_types)
 _LOGGER.info('Connected to button (%s)', address)
 add_entities([button])

def setup_button ( hass , config , add_entities , client , address ) : timeout = config . get ( CONF_TIMEOUT ) ignored_click_types = config . get ( CONF_IGNORED_CLICK_TYPES ) button = FlicButton ( hass , client , address , timeout , ignored_click_types ) _LOGGER . info ( 'Connected to button (%s)' , address ) add_entities ( [ button ] )
setup single button device .