def setup_platform(hass, config, add_entities, discovery_info=None):
    add_entities((OnlineStatus(config, apcupsd.DATA),))
Sends request to auth service. If "request_dict" is defined, dumps it as a JSON body.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/binary_sensor/apcupsd.py/setup_platform--crossover with--dataset/ETHPy150Open viewfinderco/viewfinder/backend/www/test/auth_test.py/_SendAuthRequest