def setup_platform(hass, config, add_devices, discovery_info=None):
    add_devices([NestThermostat(structure, device)
                 for structure, device in nest.devices()])
Ensure that the custom handler is indeed used
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/thermostat/nest.py/setup_platform--crossover with--dataset/ETHPy150Open jsonpickle/jsonpickle/tests/handler_test.py/HandlerTestCase.test_custom_handler