'Test turn_on.'

def test_turn_on(self):

    turn_on_calls = mock_service(self.hass, remote.DOMAIN, SERVICE_TURN_ON)
    remote.turn_on(self.hass, entity_id='entity_id_val')
    self.hass.block_till_done()
    self.assertEqual(1, len(turn_on_calls))
    call = turn_on_calls[(-1)]
    self.assertEqual(remote.DOMAIN, call.domain)
