def test_turn_on(self):
        runs = []
        self.hass.services.register(
            'light', SERVICE_TURN_ON, lambda x: runs.append(1))

        comps.turn_on(self.hass, 'light.Ceiling')

        self.hass.pool.block_till_done()

        self.assertEqual(1, len(runs))
Pickle the current portfolio dataset.  The file is automatically
dataset/ETHPy150Open home-assistant/home-assistant/tests/components/test_init.py/TestComponentsCore.test_turn_on--crossover with--dataset/ETHPy150Open pasky/cocopf/pproc.py/PortfolioDataSets.pickle